mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-24 13:57:02 -04:00
Merge remote-tracking branch 'upstream/dev' into dev
This commit is contained in:
commit
547af260a5
19 changed files with 683 additions and 1325 deletions
|
@ -9,7 +9,7 @@ import { RendererSettings } from "main/settings";
|
|||
|
||||
app.on("browser-window-created", (_, win) => {
|
||||
win.webContents.on("frame-created", (_, { frame }) => {
|
||||
frame.once("dom-ready", () => {
|
||||
frame?.once("dom-ready", () => {
|
||||
if (frame.url.startsWith("https://www.youtube.com/")) {
|
||||
const settings = RendererSettings.store.plugins?.FixYoutubeEmbeds;
|
||||
if (!settings?.enabled) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue