mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-28 04:41:31 -08:00
remove some unnecessary logging to javascript console
This commit is contained in:
parent
b165e341e7
commit
6c7a50d783
2 changed files with 1 additions and 4 deletions
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
function setInactive(elem, inactive){
|
||||
console.log(elem)
|
||||
if(inactive){
|
||||
elem.classList.add('inactive')
|
||||
} else{
|
||||
|
|
@ -9,8 +8,6 @@ function setInactive(elem, inactive){
|
|||
}
|
||||
|
||||
function onCalcResolutionHires(enable, width, height, hr_scale, hr_resize_x, hr_resize_y){
|
||||
console.log(enable, width, height, hr_scale, hr_resize_x, hr_resize_y)
|
||||
|
||||
hrUpscaleBy = gradioApp().getElementById('txt2img_hr_scale')
|
||||
hrResizeX = gradioApp().getElementById('txt2img_hr_resize_x')
|
||||
hrResizeY = gradioApp().getElementById('txt2img_hr_resize_y')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue