fix: fix upgrade button

fix #1199
This commit is contained in:
JellyBrick
2024-02-18 10:50:36 +09:00
parent 570dcfee29
commit 9f5651a8ba

View File

@ -133,7 +133,7 @@ async function onApiLoaded() {
// Remove upgrade button // Remove upgrade button
if (window.mainConfig.get('options.removeUpgradeButton')) { if (window.mainConfig.get('options.removeUpgradeButton')) {
const styles = document.createElement('style'); const styles = document.createElement('style');
styles.innerHTML = `ytmusic-guide-signin-promo-renderer { styles.innerHTML = `ytmusic-guide-section-renderer #items ytmusic-guide-entry-renderer:last-child {
display: none; display: none;
}`; }`;
document.head.appendChild(styles); document.head.appendChild(styles);