Skip to content

Commit

Permalink
Issue jashkenas#613 .. only call history.start() on domready.
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Sep 14, 2011
1 parent e8519f7 commit 6ed5e45
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1642,6 +1642,12 @@ <h2 id="History">Backbone.history</h2>
If the server has already rendered the entire page, and you don't want the
initial route to trigger when starting History, pass <tt>silent: true</tt>.
</p>

<p>
Because hash-based history in Internet Explorer relies on an
<tt>&lt;iframe&gt;</tt>, be sure to only call <tt>start()</tt> after the DOM
is ready.
</p>

<pre>
$(function(){
Expand Down

0 comments on commit 6ed5e45

Please sign in to comment.