]> git.openstreetmap.org Git - rails.git/commitdiff
Unconditionally unbind moveend event
authorJohn Firebaugh <john.firebaugh@gmail.com>
Tue, 3 Dec 2013 23:04:24 +0000 (15:04 -0800)
committerTom Hughes <tom@compton.nu>
Wed, 4 Dec 2013 00:31:20 +0000 (00:31 +0000)
Can't rely on checking location.pathname -- inside unload,
it already contains the new path. Fortunately, checking is
unnecessary.

Fixes TypeError: Cannot call method 'split' of undefined.


No differences found