projects
/
e-DoKo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4afb291
)
clean up js a bit
author
Arun Persaud
<arun@nubati.net>
Sun, 24 Jan 2016 18:31:17 +0000
(10:31 -0800)
committer
Arun Persaud
<arun@nubati.net>
Sun, 24 Jan 2016 18:31:25 +0000
(10:31 -0800)
js/game.js
patch
|
blob
|
history
diff --git
a/js/game.js
b/js/game.js
index 06457bea4b6a1104c7286ab5ca027ca968ee8432..dd196a39fd60d461fca14ca1fe3450b1cd3187e6 100644
(file)
--- a/
js/game.js
+++ b/
js/game.js
@@
-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();
});
-});
+
+ });