ShareX-Custom-Upload icon indicating copy to clipboard operation
ShareX-Custom-Upload copied to clipboard

Firefox hangs on page loading

Open T0b1-iOS opened this issue 5 years ago • 2 comments

Hello,

it seems that Firefox is unable to correctly load the webinterface and instead just hangs with seemingly random status messages in the bottom-left corner. Quick debugging showed that the issue is caused by this line in setTheme.js document.querySelector( 'link[href*="toggle-bootstrap-dark-overlay.min.css"]' ).disabled = false; more specifically, the .disabled = false; part.

Chrome & Safari work fine. Since I'm not overly familiar with the dark magic you seem to be doing regarding the dark-theme.min.css I wanted to ask if this is a bug in your code, in Firefox or if I just didn't properly set up the serverside part of the webinterface which is probably more likely.

Regards T0b1

T0b1-iOS avatar Dec 01 '20 20:12 T0b1-iOS

Thanks, that fixes the issue! You just need to also apply it in login.php and register.php

T0b1-iOS avatar Jan 26 '21 00:01 T0b1-iOS

#141 Just created a new pull request to fix this on every site.

LordByronRS avatar Jan 26 '21 09:01 LordByronRS