mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
FIX: stop disabling default in detect swipe library
This commit is contained in:
parent
a7d1c220e1
commit
16d532e9c8
2 changed files with 3 additions and 2 deletions
|
@ -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 a new issue