mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-12 19:01:47 +00:00
lint
This commit is contained in:
@ -7,8 +7,9 @@ let enabled = false;
|
||||
module.exports = (win) => {
|
||||
enabled = true;
|
||||
|
||||
//did-finish-load is called after DOMContentLoaded.
|
||||
//thats the reason the timing is controlled from main
|
||||
// youtube-music register some of the target listeners after DOMContentLoaded
|
||||
// did-finish-load is called after all elements finished loading, including said listeners
|
||||
// Thats the reason the timing is controlled from main
|
||||
win.webContents.once("did-finish-load", () => {
|
||||
win.webContents.send("restoreAddEventListener");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user