Permalink
Browse files

Do not hang it by doing PNRStatus.init. Delay it.

  • Loading branch information...
1 parent 8cd698e commit 21a1260c714ada63f559da73e0baf1f93ad2560b @alagu committed Mar 28, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 popup.html
View
5 popup.html
@@ -25,7 +25,10 @@ <h1 class="title">PNR Status Watchlist</h1>
</div>
<script src="user.js"></script>
<script type="text/javascript">
-PNRStatus.init();
+setTimeout(function() {
+ PNRStatus.init();
+}, 2000);
+
</script>
</body>
</html>

0 comments on commit 21a1260

Please sign in to comment.