muu

DEPRECATED lightweight JS framework
git clone https://git.ce9e.org/muu.git

commit
956c04bd3db7238670e2a372535c816cbcc1586a
parent
4add8a3841e8ad96fe1e796a47565b8b3e24d11b
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2015-08-28 07:54
Fixup compatible addEventListener

Diffstat

M src/muu-location.js 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/src/muu-location.js b/src/muu-location.js

@@ -153,7 +153,7 @@ define(['muu-search'], function(q) {
  153   153      */
  154   154     loc.removeEventListener = function(eventName, fn) {
  155   155         if (eventName === 'change') {
  156    -1             window.removeEventListener('popstate', fn);
   -1   156             window.removeEventListener('popstate', fn, false);
  157   157         }
  158   158         return loc;
  159   159     };