Skip to content

Commit

Permalink
fixed getCurrentPath with disabledHistory
Browse files Browse the repository at this point in the history
  • Loading branch information
seanadkinson authored and ryanflorence committed Aug 4, 2014
1 parent 08f5a69 commit c1fecd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/stores/URLStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var URLStore = {
* Returns the value of the current URL path.
*/
getCurrentPath: function () {
if (_location === 'history')
if (_location === 'history' || _location === 'disabledHistory')
return getWindowPath();

if (_location === 'hash')
Expand Down

0 comments on commit c1fecd5

Please sign in to comment.