Skip to content

Commit c1aab96

Browse files
committed
Update main.js
1 parent 770b885 commit c1aab96

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

main.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ function createWindow() {
8080

8181
mainWindow.webContents.on('did-frame-navigate', function () {
8282

83+
//re-inject logo onclick
8384
mainWindow.webContents.insertCSS('.logo.show.ads-evt {content: url("https://github.com/zoeeechu/Ako/blob/main/logo.png?raw=true");}')
8485

8586
currentURL = mainWindow.webContents.getURL()
@@ -121,10 +122,10 @@ function createWindow() {
121122

122123

123124
//injecting CSS TEST WORKON LATER
124-
//mainWindow.webContents.insertCSS('html, body { overflow: hidden; }')
125125
mainWindow.webContents.insertCSS('.logo.show.ads-evt {content: url("https://github.com/zoeeechu/Ako/blob/main/logo.png?raw=true");}')
126+
126127
// mainWindow.webContents.insertCSS('html, .wrapper_inside { overflow-y: scroll; padding-right: 0px; }')
127-
128+
//mainWindow.webContents.insertCSS('html, body { overflow: hidden; }')
128129
}
129130

130131

0 commit comments

Comments
 (0)