Fix hash parsing
This commit is contained in:
2
jquery/databap.js
vendored
2
jquery/databap.js
vendored
@@ -96,7 +96,7 @@ function Databap()
|
||||
|
||||
this.hash = function(hash)
|
||||
{
|
||||
if(!hash) return window.location.hash.slice(1);
|
||||
if(!hash) return decodeURIComponent(window.location.hash.slice(1));
|
||||
else
|
||||
{
|
||||
window.location.hash = (hash.substr(0, 1)=='#'?'':'#')+hash;
|
||||
|
||||
Reference in New Issue
Block a user