diff --git a/jsHelper/spicetifyWrapper.js b/jsHelper/spicetifyWrapper.js index 30bb68346a..a399b14d46 100644 --- a/jsHelper/spicetifyWrapper.js +++ b/jsHelper/spicetifyWrapper.js @@ -698,7 +698,10 @@ window.Spicetify = { // classnames // https://github.com/JedWatson/classnames/ - const classnamesChunk = chunks.find(([_, value]) => value.toString().includes("[native code]") && !value.toString().includes("")); + const classnamesChunk = chunks.find( + ([_, value]) => + value.toString().includes("[native code]") && !value.toString().includes("") && !value.toString().includes("Super expression") + ); if (classnamesChunk && !Spicetify.classnames) { Spicetify.classnames = Object.values(require(classnamesChunk[0])).find(m => typeof m === "function"); }