Permalink
Browse files

Move first time loadPage() to the end, bug :(

  • Loading branch information...
1 parent bbe45b4 commit e7d76e0c3136c1770d01dd42ba7a2bdae4446989 @timdream timdream committed Apr 28, 2012
Showing with 8 additions and 6 deletions.
  1. +4 −2 assets/script.js
  2. +4 −4 assets/script.min.js
View
@@ -574,8 +574,6 @@ jQuery(function ($) {
loadPage();
}
- loadPage();
-
if (
window.history.pushState
&& window.navigator.standalone
@@ -1036,4 +1034,8 @@ jQuery(function ($) {
success: insertVersion
});
}
+
+ // First time loadPage() to trigger everything.
+ loadPage();
+
});
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit e7d76e0

Please sign in to comment.