Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
update iframe size on window resize
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiefu committed Apr 23, 2014
1 parent d4fbe1d commit 0b260a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sampler-scaffold.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@

responsiveWidth: '800px',

ready: function() {
window.addEventListener('resize', this.sampleChanged.bind(this));
},

attached: function() {
this.updateMenu();
},
Expand Down

0 comments on commit 0b260a6

Please sign in to comment.