mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
fix: remove xo, migration to eslint
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
module.exports = () => {
|
||||
const compactSidebar = document.querySelector("#mini-guide");
|
||||
const isCompactSidebarDisabled =
|
||||
compactSidebar === null ||
|
||||
window.getComputedStyle(compactSidebar).display === "none";
|
||||
const compactSidebar = document.querySelector('#mini-guide');
|
||||
const isCompactSidebarDisabled
|
||||
= compactSidebar === null
|
||||
|| window.getComputedStyle(compactSidebar).display === 'none';
|
||||
|
||||
if (isCompactSidebarDisabled) {
|
||||
document.querySelector("#button").click();
|
||||
}
|
||||
if (isCompactSidebarDisabled) {
|
||||
document.querySelector('#button').click();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user