mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2026-07-24 02:32:03 +00:00
Using document.body.clientWidth instead of window.innerWidth (#58) + rebuild
This commit is contained in:
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
@@ -299,7 +299,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
onWindowResize () {
|
onWindowResize () {
|
||||||
this.window.width = window.innerWidth
|
this.window.width = document.body.clientWidth
|
||||||
this.window.height = window.innerHeight
|
this.window.height = window.innerHeight
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user