Skip to content

Commit

Permalink
Fix DOMContentLoaded with async tag
Browse files Browse the repository at this point in the history
  • Loading branch information
craigfrancis committed Mar 22, 2016
1 parent 1ba2fe1 commit e60cbcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ And the browser feature requests:

### Same Domain

It is possible to set the height with JavaScript:
It is possible to set the height with JavaScript ([demo](https://craigfrancis.github.io/iframe-height/example/)):

var iframe = document.getElementById('iframe'),
height = iframe.contentWindow.document.body.scrollHeight;
Expand Down

0 comments on commit e60cbcf

Please sign in to comment.