mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
[chore] Run eslint
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
import dialogPolyfill from "../lib/dialog-polyfill.esm.js";
|
import dialogPolyfill from '../lib/dialog-polyfill.esm.js';
|
||||||
import { shouldSendOnEnter } from './RossAscends-mods.js';
|
import { shouldSendOnEnter } from './RossAscends-mods.js';
|
||||||
import { power_user } from './power-user.js';
|
import { power_user } from './power-user.js';
|
||||||
import { removeFromArray, runAfterAnimation, uuidv4 } from './utils.js';
|
import { removeFromArray, runAfterAnimation, uuidv4 } from './utils.js';
|
||||||
@ -180,7 +180,7 @@ export class Popup {
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
this.dlg = template.content.cloneNode(true).querySelector('.popup');
|
this.dlg = template.content.cloneNode(true).querySelector('.popup');
|
||||||
if (!this.dlg.showModal) {
|
if (!this.dlg.showModal) {
|
||||||
this.dlg.classList.add("poly_dialog");
|
this.dlg.classList.add('poly_dialog');
|
||||||
dialogPolyfill.registerDialog(this.dlg);
|
dialogPolyfill.registerDialog(this.dlg);
|
||||||
}
|
}
|
||||||
this.body = this.dlg.querySelector('.popup-body');
|
this.body = this.dlg.querySelector('.popup-body');
|
||||||
|
Reference in New Issue
Block a user