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:
Beelzebub 2022-01-04 08:33:51 +03:00 committed by GitHub
parent de39c9fad6
commit c630e79cc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@
}
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);
var playButtonStyle = document.createElement('style');
playButtonStyle.type = 'text/css';