Skip to content

Commit

Permalink
set width properly
Browse files Browse the repository at this point in the history
  • Loading branch information
cmurtaugh committed Mar 20, 2019
1 parent 43b2d6e commit 022b30e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/iframe_resizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
if (frames[i].contentWindow === event.source) {
frames[i].style.cssText = '';
frames[i].height = event.data.height;
frames[i].attr('width', '100%');
frames[i].width = '100%';
break;
}
}
Expand Down

0 comments on commit 022b30e

Please sign in to comment.