diff options
author | Arun Persaud <arun@nubati.net> | 2016-01-24 10:31:17 -0800 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2016-01-24 10:31:25 -0800 |
commit | f4f8a8f0166d617a289a77cc47fabf11d88069e9 (patch) | |
tree | 94e5afc972c3c34229bb031a646584240810c7fe /js | |
parent | 4afb2915193523f99f360e27477afefcb19ed079 (diff) | |
download | e-DoKo-f4f8a8f0166d617a289a77cc47fabf11d88069e9.tar.gz e-DoKo-f4f8a8f0166d617a289a77cc47fabf11d88069e9.tar.bz2 e-DoKo-f4f8a8f0166d617a289a77cc47fabf11d88069e9.zip |
clean up js a bit
Diffstat (limited to 'js')
-rw-r--r-- | js/game.js | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -101,10 +101,8 @@ $(document).ready( }); $(".message div div").parent().click ( function() { $(this).hide(); }); - }); -/* look for swipes left/right */ -$().ready(function(){ + /* look for swipes left/right */ $("div.table").mousedown(function(e){ down_x = e.pageX; }); @@ -121,4 +119,5 @@ $().ready(function(){ $("div.table").bind('touchend', function(e){ do_swipe(); }); -}); + + }); |