4as / ChatGPT-DeMod

Tampermonkey/Greasemonkey script that hides the moderation results when communicating with ChatGPT.
GNU General Public License v2.0
382 stars 54 forks source link

The button state is not restored #9

Closed necauqua closed 1 year ago

necauqua commented 1 year ago

Looks like this line is missing an await - the Promise object is always truthy and the button always loads green regardless of what it was in previous session.

4as commented 1 year ago

Oh, well spotted. Few rewrites later and somehow this function got lost along the way. Fixed now. Thank you.