mirror of
https://github.com/morpheusthewhite/spicetify-themes.git
synced 2024-11-22 19:02:45 +01:00
Update fluent.js
solved Uncaught TypeError: Cannot read properties of undefiend (reading 'Translations') at fluent.js:77 ![](https://cdn.discordapp.com/attachments/924926223229014016/927544294678605874/unknown.png)
This commit is contained in:
parent
de39c9fad6
commit
c630e79cc9
@ -74,7 +74,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
var interval = setInterval(function() {
|
var interval = setInterval(function() {
|
||||||
if(typeof Spicetify.Platform.Translations.play == 'undefined' && typeof Spicetify.Platform.Translations.pause == 'undefined') return;
|
if (typeof Spicetify.Platform == 'undefined' || (typeof Spicetify.Platform.Translations.play == 'undefined' && typeof Spicetify.Platform.Translations.pause == 'undefined')) return;
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
var playButtonStyle = document.createElement('style');
|
var playButtonStyle = document.createElement('style');
|
||||||
playButtonStyle.type = 'text/css';
|
playButtonStyle.type = 'text/css';
|
||||||
|
Loading…
Reference in New Issue
Block a user