mirror of
				https://github.com/KevinMidboe/vue-js-modal.git
				synced 2025-10-29 18:00:20 +00:00 
			
		
		
		
	Using document.body.clientWidth instead of window.innerWidth (#58) + rebuild
This commit is contained in:
		
							
								
								
									
										4
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										4
									
								
								dist/ssr.index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								dist/ssr.index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -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