diff options
Diffstat (limited to 'js/codeq')
-rw-r--r-- | js/codeq/navigation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/codeq/navigation.js b/js/codeq/navigation.js index ce67084..f6f032f 100644 --- a/js/codeq/navigation.js +++ b/js/codeq/navigation.js @@ -74,7 +74,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ if(History.getState().data.state === name) codeq.globalStateMachine.actualTransition.apply(codeq.globalStateMachine,Array.prototype.slice.apply(arguments, [0]));//special case which happens if the user refreshes while in the login screen (history state doesn't change because it goes from login to login and the above listener doesn't trigger) try { - History.pushState({'state': name, 'params': Array.prototype.slice.apply(arguments, [1])}, null, '?s=' + name); + History.pushState({'state': name, 'params': Array.prototype.slice.apply(arguments, [1])}, 'CodeQ', '?s=' + name); } catch (e) { codeq.log.error('init: History.pushState() failed for new state ' + name+'. Error:'+e, e); |