mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-02 22:02:50 -08:00
Renamed pnginfo quick links
All to Copy Positive to Prompt
This commit is contained in:
parent
786809d5ca
commit
53712c623f
2 changed files with 3 additions and 3 deletions
|
|
@ -35,7 +35,7 @@ def run_pnginfo(image):
|
|||
info += f"""
|
||||
<div class='pnginfo-page'>
|
||||
<p><b>parameters</b><br>
|
||||
{pnginfo_format_quicklink("All")} {pnginfo_format_quicklink("Positive")}"""
|
||||
{pnginfo_format_quicklink("Copy")} {pnginfo_format_quicklink("Prompt")}"""
|
||||
if parser.negative is not None:
|
||||
info += f' {pnginfo_format_quicklink("Negative")}'
|
||||
info += f""" {pnginfo_format_quicklink("Settings")}
|
||||
|
|
|
|||
|
|
@ -245,13 +245,13 @@ function uiCopyRawText(elid) {
|
|||
function uiCopyPngInfo(el, mode) {
|
||||
var text = null;
|
||||
|
||||
if (mode == "Positive") {
|
||||
if (mode == "Prompt") {
|
||||
text = uiCopyRawText("pnginfo-positive");
|
||||
} else if (mode == "Negative") {
|
||||
text = uiCopyRawText("pnginfo-negative");
|
||||
} else if (mode == "Settings") {
|
||||
text = uiCopyRawText("pnginfo-settings");
|
||||
} else if (mode == "All") {
|
||||
} else if (mode == "Copy") {
|
||||
text = "";
|
||||
var t2 = uiCopyRawText("pnginfo-positive");
|
||||
if (t2 != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue