Skip to content

Commit c1fecd5

Browse files
seanadkinsonryanflorence
authored andcommitted
fixed getCurrentPath with disabledHistory
1 parent 08f5a69 commit c1fecd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: modules/stores/URLStore.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ var URLStore = {
5656
* Returns the value of the current URL path.
5757
*/
5858
getCurrentPath: function () {
59-
if (_location === 'history')
59+
if (_location === 'history' || _location === 'disabledHistory')
6060
return getWindowPath();
6161

6262
if (_location === 'hash')

0 commit comments

Comments
 (0)