Skip to content

Commit

Permalink
Item12180: Another stab at skipping history.pushState on IE
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@15941 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
TimotheLitt authored and TimotheLitt committed Nov 7, 2012
1 parent 59bd41c commit e9f8dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Configure/resources/scripts.js
Expand Up @@ -304,7 +304,7 @@ var configure = (function ($) {
* but it comes it a lot of baggage. For now, just skip this for browsers that don't support
* window.history.
*/
if( window.history ) {
if( window.history && window.history.pushState ) {
if (subId !== undefined) {
subName = subId.split("$")[1];
window.history.pushState(undefined, "Configure / " + mainId + " / " + subName, url + "#" + subId);
Expand Down

0 comments on commit e9f8dc2

Please sign in to comment.