Permalink
Browse files

Fixes ERROR: Uncaught ReferenceError: current is not defined

  • Loading branch information...
1 parent b7d746d commit 16e1e8bd2276dfa87760752364d1f6f48d1e5811 @jxson jxson committed Feb 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -11,7 +11,7 @@ module.exports = function (cb, opts) {
function onhashchange () {
var href = window.location.hash.replace(/^#!\/?/, '/');
- if (current !== href && /^#!/.test(window.location.hash)) {
+ if (page.current !== href && /^#!/.test(window.location.hash)) {
page.show(href);
}
}

0 comments on commit 16e1e8b

Please sign in to comment.