diff --git a/src/jquery.address.js b/src/jquery.address.js index de35e3c..fa928bb 100644 --- a/src/jquery.address.js +++ b/src/jquery.address.js @@ -84,7 +84,7 @@ _listen = function() { if (!_silent) { var hash = _href(), - diff = _value != hash; + diff = decodeURI(_value) != decodeURI(hash); if (diff) { if (_msie && _version < 7) { _l.reload(); @@ -122,7 +122,7 @@ }, _html = function() { var src = _js() + ':' + FALSE + ';document.open();document.writeln(\'' + - _d.title.replace(/\'/g, '\\\'') + '