Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
Hide zoom toast notification when reseting zoom level
  • Loading branch information
amanharwara committed Apr 4, 2019
1 parent 8c81e18 commit c155b65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/windows/main/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ ipcRenderer.on('zoom', (e, data) => {
document.querySelector(`#tab-content-${tabID} webview`).executeJavaScript(`
document.documentElement.style.zoom = "100%";
`);
i.hide({}, t)
}, false]
],
onOpening: () => {
Expand All @@ -380,6 +381,7 @@ ipcRenderer.on('zoom', (e, data) => {
document.querySelector(`#tab-content-${tabID} webview`).executeJavaScript(`
document.documentElement.style.zoom = "100%";
`);
i.hide({}, t)
}, false]
],
onOpening: () => {
Expand Down

0 comments on commit c155b65

Please sign in to comment.