Skip to content

Commit 1d6abd0

Browse files
committed
Removed some JS
- Removed deprecated mobile.touchOverflow function - Removed multi-touch and pinch-to-zoom preventer
1 parent 5b88b95 commit 1d6abd0

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

public_html/lib/js/inc-main.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -60,21 +60,6 @@ $(document).ready(function () {
6060
$(this).stop().animate({ scrollLeft: newPosition }, 100, 'linear');
6161
});
6262

63-
});
64-
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
65-
// Mobile: Touch overflow controller
66-
$(document).on('mobileinit', function () {
67-
$.mobile.touchOverflowEnabled = true;
68-
});
69-
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
70-
// Mobile: Touch controller
71-
$(document).ready(function () {
72-
73-
// Prevent default behavior for multi-touch events
74-
document.documentElement.addEventListener('touchstart', function (e) {
75-
if (e.touches.length > 1) e.preventDefault();
76-
}, false);
77-
7863
});
7964
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
8065
// Menu: Toggle for submenu/settings

0 commit comments

Comments
 (0)