Skip to content

Commit 204d644

Browse files
committed
Re-ordered ops ↞ [auto-sync from https://github.com/adamlui/youtube-classic]
1 parent 9b4cf56 commit 204d644

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

youtube-classic/youtube-classic.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
// @name:zh-SG YouTube 经典
117117
// @name:zh-TW YouTube 經典
118118
// @name:zu YouTube Yakudala
119-
// @version 2026.5.19.5
119+
// @version 2026.5.19.6
120120
// @author Adam Lui, magma_craft
121121
// @namespace https://github.com/adamlui
122122
// @description Reverts YouTube to its classic design (before all the rounded corners & hidden dislikes) + redirects YouTube Shorts + blocks thumbnail ads
@@ -616,8 +616,8 @@
616616
if (!key && !keys) return console.error('Option \'key\' or \'keys\' required by styles.update()')
617617
;[].concat(keys || key).forEach(key => {
618618
const style = this[key] ; style.node ||= dom.create.style()
619-
if ((append ?? style.autoAppend) && !style.node.isConnected) document.head.append(style.node)
620619
style.node.textContent = style.css
620+
if ((append ?? style.autoAppend) && !style.node.isConnected) document.head.append(style.node)
621621
})
622622
},
623623

0 commit comments

Comments
 (0)