Skip to content

Commit cbcd08e

Browse files
author
talgat.uspanov
committed
fix issue #64
1 parent e72ac73 commit cbcd08e

File tree

6 files changed

+9
-5
lines changed

6 files changed

+9
-5
lines changed

dist/jquery.multiscroll.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,7 @@
839839
MS.destroy = function() {
840840
MS.setKeyboardScrolling(false);
841841
MS.setMouseWheelScrolling(false);
842+
removeTouchHandler();
842843

843844
$(window)
844845
.off('hashchange', hashChangeHandler)
@@ -856,6 +857,7 @@
856857
MS.build = function() {
857858
MS.setKeyboardScrolling(true);
858859
MS.setMouseWheelScrolling(true);
860+
addTouchHandler();
859861

860862
$(window)
861863
.on('hashchange', hashChangeHandler)

dist/jquery.multiscroll.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jquery.multiscroll.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jquery.multiscroll.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jquery.multiscroll.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jquery.multiscroll.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,7 @@
839839
MS.destroy = function() {
840840
MS.setKeyboardScrolling(false);
841841
MS.setMouseWheelScrolling(false);
842+
removeTouchHandler();
842843

843844
$(window)
844845
.off('hashchange', hashChangeHandler)
@@ -856,6 +857,7 @@
856857
MS.build = function() {
857858
MS.setKeyboardScrolling(true);
858859
MS.setMouseWheelScrolling(true);
860+
addTouchHandler();
859861

860862
$(window)
861863
.on('hashchange', hashChangeHandler)

0 commit comments

Comments
 (0)