Permalink
Browse files

check whether the required blank page is given for fallback history b…

…efore trying to go without token
  • Loading branch information...
1 parent e3e62a4 commit 81a8b434d23a7c33ccf4ab4c70e4ae52a3230888 @rhysbrettbowen committed Apr 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 router.js
View
@@ -25,7 +25,7 @@ goog.require('goog.history.Html5History');
mvc.Router = function(opt_noFragment, opt_blankPage) {
this.history_ = goog.history.Html5History.isSupported() ?
new goog.history.Html5History() :
- new goog.History(opt_noFragment, opt_blankPage);
+ new goog.History((opt_blankPage && opt_noFragment), opt_blankPage);
if (this.history_.setUseFragment)
this.history_.setUseFragment(!opt_noFragment);
goog.events.listen(this.history_, goog.history.EventType.NAVIGATE,

0 comments on commit 81a8b43

Please sign in to comment.