mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-19 14:22:08 -08:00
Use onAfterUiUpdate where possible
This commit is contained in:
parent
bc53ecf298
commit
dc7a1bbb1c
7 changed files with 7 additions and 9 deletions
|
|
@ -81,7 +81,7 @@ function dimensionChange(e, is_width, is_height) {
|
|||
}
|
||||
|
||||
|
||||
onUiUpdate(function() {
|
||||
onAfterUiUpdate(function() {
|
||||
var arPreviewRect = gradioApp().querySelector('#imageARPreview');
|
||||
if (arPreviewRect) {
|
||||
arPreviewRect.style.display = 'none';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue