Skip to content

Commit

Permalink
SAK-31292 Make sure to update style.height
Browse files Browse the repository at this point in the history
  • Loading branch information
csev committed Jun 1, 2016
1 parent 3b38751 commit 350ac04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion basiclti/web-ifp/src/bundle/vm/main.vm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ window.addEventListener('message', function(e) {
var idval = 'wciframe';
if ( message.subject == 'lti.frameResize' ) {
var height = message.height;
document.getElementById(idval).height = height;
document.getElementById(idval).style.height = height;
document.getElementById(idval).style.width = '100%';
console.log('Reveived lti.frameResize height='+height);
}
} catch (error) {
Expand Down

0 comments on commit 350ac04

Please sign in to comment.