mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-11 19:51:29 -08:00
eslint related file edits
This commit is contained in:
parent
f88169a9e7
commit
57b75f4a03
13 changed files with 54 additions and 67 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// various hints and extra info for the settings tab
|
||||
|
||||
settingsHintsSetup = false;
|
||||
var settingsHintsSetup = false;
|
||||
|
||||
onOptionsChanged(function() {
|
||||
if (settingsHintsSetup) return;
|
||||
|
|
@ -30,7 +30,7 @@ onOptionsChanged(function() {
|
|||
span.parentElement.insertBefore(document.createTextNode('\xa0'), span);
|
||||
}
|
||||
if (commentAfter) {
|
||||
var comment = document.createElement('DIV');
|
||||
comment = document.createElement('DIV');
|
||||
comment.className = 'settings-comment';
|
||||
comment.innerHTML = commentAfter;
|
||||
span.parentElement.insertBefore(comment, span.nextSibling);
|
||||
|
|
@ -50,7 +50,7 @@ function settingsHintsShowQuicksettings() {
|
|||
td.textContent = obj.name;
|
||||
tr.appendChild(td);
|
||||
|
||||
var td = document.createElement('td');
|
||||
td = document.createElement('td');
|
||||
td.textContent = obj.label;
|
||||
tr.appendChild(td);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue