some browers (Firefox for example) have no pushState, so disable it for those for now

This commit is contained in:
MrZYX 2011-01-22 16:42:21 +01:00
parent 852be182f5
commit cadcc3e7c3

View file

@ -117,7 +117,10 @@ $(document).ready(function(){
// set url
history.pushState(null, document.title, newURL);
// some browsers (Firefox for example) don't support pushState
if (typeof(history.pushState) == 'function') {
history.pushState(null, document.title, newURL);
}
$.ajax({
url : newURL,