FIX: stop disabling default in detect swipe library

This commit is contained in:
Sam 2015-08-26 10:26:58 +10:00
parent a7d1c220e1
commit 16d532e9c8
2 changed files with 3 additions and 2 deletions

View File

@ -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
};

View File

@ -42,4 +42,3 @@
//= require buffered-proxy
//= require jquery.autoellipsis-1.0.10.min.js
//= require_tree ./discourse/ember
//= require jquery.detect_swipe.js