Using document.body.clientWidth instead of window.innerWidth (#58) + rebuild

This commit is contained in:
euvl
2017-08-07 12:46:14 +01:00
parent 0ea9d797cd
commit c81801ceb5
3 changed files with 14 additions and 14 deletions

4
dist/index.js vendored

File diff suppressed because one or more lines are too long

4
dist/ssr.index.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -299,7 +299,7 @@
},
onWindowResize () {
this.window.width = window.innerWidth
this.window.width = document.body.clientWidth
this.window.height = window.innerHeight
},