Fixed an important but boring issue

This commit is contained in:
Observer KRypt0n_ 2021-12-14 19:49:27 +02:00
parent b725e09ad7
commit 701efddd72
No known key found for this signature in database
GPG key ID: DC5D4EC1303465DA

View file

@ -333,7 +333,7 @@ $(() => {
if (!LauncherLib.isPrefixInstalled(constants.prefixDir.get()))
$('#fps-unlocker').toggle();
else if (LauncherLib.isPrefixInstalled(constants.prefixDir.get()) && !$('#fps-unlocker').is(':visible'))
else if (LauncherLib.isPrefixInstalled(constants.prefixDir.get()) && $('#fps-unlocker').css('display') == 'none')
$('#fps-unlocker').toggle();
if (LauncherLib.getConfig('fpsunlock'))