xiaoxiaoflood / firefox-scripts

userChromeJS / autoconfig.js and extensions
Mozilla Public License 2.0
1.02k stars 86 forks source link

StyloaiX editor has small bug #303

Closed srjjgm closed 1 month ago

srjjgm commented 4 months ago

StyloaiX has been experiencing a small bug for a long time. Steps to reproduce:

1) open the edit window of any style 2) change anything in the code, a letter or number for example 3) undo the change 4) click to close the editing window 5) the warning will appear asking if you really want to close the window and lose any unsaved changes.

This warning should only appear if the editing window was closed with a real change made and not saved, as it was in the old Stylish, from which StyloaiX was forked.

I appreciate any help.