mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
improve options&extensions menu display..again..
This commit is contained in:
@ -236,7 +236,7 @@ function addExtensionsButtonAndMenu() {
|
||||
|
||||
$(button).on('click', function () {
|
||||
popper.update()
|
||||
dropdown.toggle(200);
|
||||
dropdown.fadeIn(250);
|
||||
});
|
||||
|
||||
$("html").on('touchstart mousedown', function (e) {
|
||||
@ -244,7 +244,7 @@ function addExtensionsButtonAndMenu() {
|
||||
if (dropdown.is(':visible')
|
||||
&& clickTarget.closest(button).length == 0
|
||||
&& clickTarget.closest(dropdown).length == 0) {
|
||||
$(dropdown).hide(200);
|
||||
$(dropdown).fadeOut(250);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user