mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-16 12:42:06 +00:00
fix: remove xo, migration to eslint
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
const { ipcRenderer } = require("electron");
|
||||
const { ipcRenderer } = require('electron');
|
||||
|
||||
module.exports.setupSongControls = () => {
|
||||
document.addEventListener('apiLoaded', e => {
|
||||
ipcRenderer.on("seekTo", (_, t) => e.detail.seekTo(t));
|
||||
ipcRenderer.on("seekBy", (_, t) => e.detail.seekBy(t));
|
||||
}, { once: true, passive: true })
|
||||
document.addEventListener('apiLoaded', (e) => {
|
||||
ipcRenderer.on('seekTo', (_, t) => e.detail.seekTo(t));
|
||||
ipcRenderer.on('seekBy', (_, t) => e.detail.seekBy(t));
|
||||
}, { once: true, passive: true });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user