Work around google+'s bug where they link to the escaped_fragment URL.
This commit is contained in:
parent
291dba972f
commit
ef205626e4
@ -251,6 +251,10 @@ $(document).ready(function() {
|
|||||||
$(window).hashchange(function() {
|
$(window).hashchange(function() {
|
||||||
$("#loading").show();
|
$("#loading").show();
|
||||||
$("link[rel=image_src]").remove();
|
$("link[rel=image_src]").remove();
|
||||||
|
if (location.search.indexOf("?_escaped_fragment_=") === 0) {
|
||||||
|
location.hash = location.search.substring(20);
|
||||||
|
location.search = "";
|
||||||
|
}
|
||||||
photoFloat.parseHash(location.hash, hashParsed, die);
|
photoFloat.parseHash(location.hash, hashParsed, die);
|
||||||
});
|
});
|
||||||
$(window).hashchange();
|
$(window).hashchange();
|
||||||
|
Loading…
Reference in New Issue
Block a user