From ddf5b15ad06d14ff0dd5f888d3b0a29c5f39cd7b Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 1 Oct 2013 15:20:31 +0900 Subject: [PATCH] =?UTF-8?q?touchmove=20=EC=9D=B4=EB=B2=A4=ED=8A=B8=20?= =?UTF-8?q?=ED=95=B8=EB=93=A4=EB=9F=AC=20=EB=93=B1=EB=A1=9D=20=EC=BD=94?= =?UTF-8?q?=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/jquery.floatmenu.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/jquery.floatmenu.js b/js/jquery.floatmenu.js index f8480bdcf..f87dad53e 100644 --- a/js/jquery.floatmenu.js +++ b/js/jquery.floatmenu.js @@ -115,9 +115,9 @@ init_menu(); }); - $(window).on("touchmove", function(event) { + document.addEventListener('touchmove', function(event) { hide_menu(); - }); + }, false); } $.fn.bottomFloatMenu = function(timeout, duration, interval, count) @@ -257,8 +257,8 @@ float_menu(); }); - $(window).on("touchmove", function(event) { + document.addEventListener('touchmove', function(event) { hide_menu(); - }); + }, false); } }(jQuery)); \ No newline at end of file