mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix prompt edit popup not appearing after refactoring
This commit is contained in:
@@ -830,7 +830,7 @@ PromptManagerModule.prototype.makeDraggable = function () {
|
|||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
PromptManagerModule.prototype.showEditForm = function () {
|
PromptManagerModule.prototype.showEditForm = function () {
|
||||||
$('#openai_prompt_manager_popup').first()
|
$('#'+this.configuration.prefix +'prompt_manager_popup').first()
|
||||||
.slideDown(200, "swing")
|
.slideDown(200, "swing")
|
||||||
.addClass('openDrawer');
|
.addClass('openDrawer');
|
||||||
}
|
}
|
||||||
@@ -840,7 +840,7 @@ PromptManagerModule.prototype.showEditForm = function () {
|
|||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
PromptManagerModule.prototype.hideEditForm = function () {
|
PromptManagerModule.prototype.hideEditForm = function () {
|
||||||
$('#openai_prompt_manager_popup').first()
|
$('#'+this.configuration.prefix +'prompt_manager_popup').first()
|
||||||
.slideUp(200, "swing")
|
.slideUp(200, "swing")
|
||||||
.removeClass('openDrawer');
|
.removeClass('openDrawer');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user