Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Defer initial iframe content loading.

  • Loading branch information...
commit 9b4ff39b3443cf23f13fec916c1ed79e0ce8817a 1 parent 9d2b6af
@jhuckabee authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  public/js/app.js
  2. +1 −1  views/index.ejs
View
1  public/js/app.js
@@ -84,6 +84,7 @@ $(function() {
};
+ $('#itemContent').attr('src', '/intro');
HN.resizeItemsList();
HN.loadItems();
View
2  views/index.ejs
@@ -14,7 +14,7 @@
<div id="items" class="scrollbar"></div>
</div>
<div id="itemDetail">
- <iframe id="itemContent" src="/intro"></iframe>
+ <iframe id="itemContent"></iframe>
</div>
</div>
<div id="loadingIndicator" style="display:none;">Loading...</div>
Please sign in to comment.
Something went wrong with that request. Please try again.