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)
commitbdbc1d663d04075f45a87a4b78b0744a008d758c
tree3802477a85869f90f03eaf77550e052fef3699ad
parent9544ab12b8237b4e471f03df981a189c80216c63
Unconditionally unbind moveend event

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.
app/assets/javascripts/index/history.js