Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 408ee73

Browse files
committed
removing a hack for IE
1 parent 8060321 commit 408ee73

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

public/styleguide/js/url-handler.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,8 @@ var urlHandler = {
146146
var state = e.state;
147147

148148
if (state == null) {
149-
var rVars = this.getRequestVars();
150-
if ((rVars.p != undefined) || (rVars.pattern != undefined)) {
151-
var patternName = (rVars.p != undefined) ? rVars.p : rVars.pattern;
152-
} else {
153-
this.skipBack = false;
154-
return;
155-
}
149+
this.skipBack = false;
150+
return;
156151
} else if (state != null) {
157152
var patternName = state.pattern;
158153
}

0 commit comments

Comments
 (0)