summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-10-24 09:54:28 +0200
committeremkael <emkael@tlen.pl>2016-10-24 09:54:28 +0200
commit00bb4ae25a015e8cdc988c12f4c72f9bb46b0508 (patch)
tree7568a359060c885ee060dca501b6f5330ebb1ccc
parent516b2bde5ba9fe31b6956032d52882658cf05a2c (diff)
* hashchange event bound properlyHEADmaster
-rw-r--r--web/osika.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/osika.js b/web/osika.js
index 810a366..d4e7c47 100644
--- a/web/osika.js
+++ b/web/osika.js
@@ -42,7 +42,7 @@ var Osika = function() {
}
that.getHand(location.hash.substring(1));
}
- jQuery(window).hashchange(that.init);
+ jQuery(window).on('hashchange', that.init);
};
that.init();
};