mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix naming
This commit is contained in:
@@ -375,13 +375,13 @@ export class Popup {
|
|||||||
/** @type {{value: any, result: POPUP_RESULT|number?}?} Last popup result */
|
/** @type {{value: any, result: POPUP_RESULT|number?}?} Last popup result */
|
||||||
lastResult: null,
|
lastResult: null,
|
||||||
|
|
||||||
/** @returns {boolean} Checks if any modal dialog is open */
|
/** @returns {boolean} Checks if any modal popup dialog is open */
|
||||||
isDialogOpen() {
|
isPopupOpen() {
|
||||||
return Popup.util.popups.length > 0;
|
return Popup.util.popups.length > 0;
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the topmost modal layer in the document. If there is an open dialog,
|
* Returns the topmost modal layer in the document. If there is an open dialog popup,
|
||||||
* it returns the dialog element. Otherwise, it returns the document body.
|
* it returns the dialog element. Otherwise, it returns the document body.
|
||||||
*
|
*
|
||||||
* @return {HTMLElement} The topmost modal layer element
|
* @return {HTMLElement} The topmost modal layer element
|
||||||
|
Reference in New Issue
Block a user