},
onBeforeClose: function(sender) {
- window.location.hash = '';
+ window.location.hash = hashDelimiter;
}
});
var hashParts = window.location.hash.split(hashDelimiter);
var myThumb = document.getElementById(hashParts[1])
if (hashParts[1] && myThumb) myThumb.click();
- else window.location.hash = '';
}
// If the new hash is not equal to the hash we store internally,
// then it must be the user hitting the "back/forward" button
var hashParts = window.location.hash.split(hashDelimiter);
if (hashParts[1] != hashTag) {
hs.close();
- window.location.hash = '';
+ window.location.hash = hashDelimiter;
}
}