diff options
author | 2021-08-13 08:26:41 +0530 | |
---|---|---|
committer | 2021-08-13 07:32:56 +0000 | |
commit | 0ba2131c63b277085f0f655329660211f0ac37ec (patch) | |
tree | 386f1a560e590e41270d71934072183627b58f85 | |
parent | 5.6.1-nightly.25 [skip ci] (diff) | |
download | ferdium-app-0ba2131c63b277085f0f655329660211f0ac37ec.tar.gz ferdium-app-0ba2131c63b277085f0f655329660211f0ac37ec.tar.zst ferdium-app-0ba2131c63b277085f0f655329660211f0ac37ec.zip |
refactor: Use destructured 'import'
-rw-r--r-- | src/webview/zoom.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/webview/zoom.js b/src/webview/zoom.js index 3ad88916e..ec2d672b6 100644 --- a/src/webview/zoom.js +++ b/src/webview/zoom.js | |||
@@ -1,6 +1,4 @@ | |||
1 | import electron from 'electron'; | 1 | import { ipcRenderer, webFrame } from 'electron'; |
2 | |||
3 | const { ipcRenderer, webFrame } = electron; | ||
4 | 2 | ||
5 | const maxZoomLevel = 9; | 3 | const maxZoomLevel = 9; |
6 | const minZoomLevel = -8; | 4 | const minZoomLevel = -8; |