Closed vladmandic closed 1 year ago
Thank you! This is something that was bothering me.
Everything seems okay. Hadn't thought of setting
onbeforeunload
! Will just change the log message.
feel free to modify, this is just a quick fix (and i've just removed debug message in the follow-up commit)
Oh, okay! Was wondering there the debug was on my local branch!
Again, thanks for your contribution! Will get to your pull on the extension as well.
dont register global onbefore
onbeforeunload
as it triggers alert alwayseven if outpaint is not busy, it will always block closing of the page.
and in case of automatic1111 extension, it will block closing of automatic even if openoutpaint tab is not active (and never was)
i've implemented
generate
as function so it takes care of that as needed.