projects
/
lantea.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17967f7
)
add a comment on mouse wheel events
author
Robert Kaiser
<robert@widebook.box.kairo.at>
Fri, 7 Sep 2012 05:58:30 +0000
(07:58 +0200)
committer
Robert Kaiser
<robert@widebook.box.kairo.at>
Fri, 7 Sep 2012 05:58:30 +0000
(07:58 +0200)
js/map.js
patch
|
blob
|
blame
|
history
diff --git
a/js/map.js
b/js/map.js
index 5709a561b8c3a85e5671fb237baaacd5a53aaa83..8b4ffbbd0aead264d492d60b0d9c8d5d1090b547 100644
(file)
--- a/
js/map.js
+++ b/
js/map.js
@@
-124,6
+124,7
@@
function initMap() {
gCanvas.addEventListener("touchcancel", mapEvHandler, false);
gCanvas.addEventListener("touchleave", mapEvHandler, false);
+ // XXX deprecated? see https://groups.google.com/forum/?fromgroups#!topic/mozilla.dev.planning/kuhrORubaRY[1-25]
gCanvas.addEventListener("DOMMouseScroll", mapEvHandler, false);
gCanvas.addEventListener("mousewheel", mapEvHandler, false);