Skip to content

Commit c4ba714

Browse files
authored
Update script.js
1 parent 3ea6e1f commit c4ba714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function drawLayout() {
3535

3636
function drawHorizontalLayout() {
3737
var phoneFrame = document.getElementById('phone_frame');
38-
phoneFrame.height = window.innerHeight + 'px';
38+
phoneFrame.style.height = window.innerHeight + 'px';
3939
document.getElementById('phone_container').style.left = '0px';
4040
document.getElementById('text_container').style.left = phoneFrame.offsetWidth + 30 + "px";
4141
}

0 commit comments

Comments
 (0)