mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:40:00 +08:00
FIX: stop disabling default in detect swipe library
This commit is contained in:
parent
a7d1c220e1
commit
16d532e9c8
|
@ -4,12 +4,14 @@
|
|||
* http://github.com/marcandre/detect_swipe
|
||||
* Based on touchwipe by Andreas Waltl, netCU Internetagentur (http://www.netcu.de)
|
||||
*/
|
||||
|
||||
/* modified by sam to disable the preventDefault stuff */
|
||||
(function($) {
|
||||
|
||||
$.detectSwipe = {
|
||||
version: '2.1.1',
|
||||
enabled: 'ontouchstart' in document.documentElement,
|
||||
preventDefault: true,
|
||||
preventDefault: false,
|
||||
threshold: 20
|
||||
};
|
||||
|
|
@ -42,4 +42,3 @@
|
|||
//= require buffered-proxy
|
||||
//= require jquery.autoellipsis-1.0.10.min.js
|
||||
//= require_tree ./discourse/ember
|
||||
//= require jquery.detect_swipe.js
|
||||
|
|
Loading…
Reference in New Issue
Block a user