Explorar o código

HUE-3281 [editor] Disable swipe to slide

Enrico Berti %!s(int64=9) %!d(string=hai) anos
pai
achega
70373870b3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/libs/notebook/src/notebook/templates/editor_m.mako

+ 1 - 1
desktop/libs/notebook/src/notebook/templates/editor_m.mako

@@ -325,7 +325,7 @@ ${ commonheader_m(editor_type, editor_type, user, request, "68px") | n,unicode }
   var viewModel;
 
   $(document).ready(function () {
-    $("body").swipe({fingers: 'all', swipeLeft: swipeLeft, swipeRight: swipeRight, allowPageScroll: "auto"});
+    //$("body").swipe({fingers: 'all', swipeLeft: swipeLeft, swipeRight: swipeRight, allowPageScroll: "auto"});
 
     function swipeLeft() {
       if ($('body').hasClass('open-left')){