daasd commited on
Commit
ce672e3
·
verified ·
1 Parent(s): b180885

Update PNG_info_web.js

Browse files
Files changed (1) hide show
  1. PNG_info_web.js +1 -1
PNG_info_web.js CHANGED
@@ -849,7 +849,7 @@ let imgStorage=(img)=>{
849
  this.png_info_blob = png_info_blob;
850
  let res = await readNovelAITag(png_info_blob);
851
  if(!res.length){
852
- this.shadowRoot.querySelector("#tab_pnginfo > div > div > div:nth-child(2) > div:nth-child(3)").innerText ="这不是一张stablediffusion图片"
853
  // this.shadowRoot.querySelector("#tagger图生文_tab").style.color='red'
854
  //tag反推(tagger)
855
  // this.shadowRoot.querySelector("#tagger图生文_tab").onclick =
 
849
  this.png_info_blob = png_info_blob;
850
  let res = await readNovelAITag(png_info_blob);
851
  if(!res.length){
852
+ this.shadowRoot.querySelector("#txt2img_tab").parentNode.parentNode.children[2].innerText ="这不是一张stablediffusion图片"
853
  // this.shadowRoot.querySelector("#tagger图生文_tab").style.color='red'
854
  //tag反推(tagger)
855
  // this.shadowRoot.querySelector("#tagger图生文_tab").onclick =