Fix hash parsing 2
This commit is contained in:
2
jquery/databap.js
vendored
2
jquery/databap.js
vendored
@@ -99,7 +99,7 @@ function Databap()
|
|||||||
if(!hash) return decodeURIComponent(window.location.hash.slice(1));
|
if(!hash) return decodeURIComponent(window.location.hash.slice(1));
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
window.location.hash = (hash.substr(0, 1)=='#'?'':'#')+hash;
|
window.location.hash = '#'+encodeURIComponent(hash.slice(hash.substr(0, 1)=='#'?1:0));
|
||||||
|
|
||||||
//favicon, bug firefox
|
//favicon, bug firefox
|
||||||
var link = $('link[rel="shortcut icon"]').remove().attr("href");
|
var link = $('link[rel="shortcut icon"]').remove().attr("href");
|
||||||
|
|||||||
Reference in New Issue
Block a user