]> git.openstreetmap.org Git - rails.git/commit
Make sure we don't attach alert handler multiple times
authorTom Hughes <tom@compton.nu>
Tue, 21 Feb 2012 19:22:01 +0000 (19:22 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 21 Feb 2012 19:22:01 +0000 (19:22 +0000)
commitbdf476d8cf0a353d66d249d4eb25bde8460a0dcf
tree8102d85ff74bef28ddf0730d958ebedddff4db8e
parent5e0a8368c851eaf3350cf8c42ed611fc246f7b58
Make sure we don't attach alert handler multiple times

Before adding a "not zoomed in enough" alert handler, make sure any
existing handler is removed. Fixes #17.
app/assets/javascripts/site.js