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
|
* http://github.com/marcandre/detect_swipe
|
||||||
* Based on touchwipe by Andreas Waltl, netCU Internetagentur (http://www.netcu.de)
|
* Based on touchwipe by Andreas Waltl, netCU Internetagentur (http://www.netcu.de)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* modified by sam to disable the preventDefault stuff */
|
||||||
(function($) {
|
(function($) {
|
||||||
|
|
||||||
$.detectSwipe = {
|
$.detectSwipe = {
|
||||||
version: '2.1.1',
|
version: '2.1.1',
|
||||||
enabled: 'ontouchstart' in document.documentElement,
|
enabled: 'ontouchstart' in document.documentElement,
|
||||||
preventDefault: true,
|
preventDefault: false,
|
||||||
threshold: 20
|
threshold: 20
|
||||||
};
|
};
|
||||||
|
|
|
@ -42,4 +42,3 @@
|
||||||
//= require buffered-proxy
|
//= require buffered-proxy
|
||||||
//= require jquery.autoellipsis-1.0.10.min.js
|
//= require jquery.autoellipsis-1.0.10.min.js
|
||||||
//= require_tree ./discourse/ember
|
//= require_tree ./discourse/ember
|
||||||
//= require jquery.detect_swipe.js
|
|
||||||
|
|
Loading…
Reference in New Issue