mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Don't switch BG on delete click
This commit is contained in:
@ -3272,7 +3272,8 @@ $(document).ready(function () {
|
|||||||
);
|
);
|
||||||
setBackground(this_bgfile);
|
setBackground(this_bgfile);
|
||||||
});
|
});
|
||||||
$(document).on("click", ".bg_example_cross", function () {
|
$(document).on("click", ".bg_example_cross", function (e) {
|
||||||
|
e.stopPropagation();
|
||||||
bg_file_for_del = $(this);
|
bg_file_for_del = $(this);
|
||||||
//$(this).parent().remove();
|
//$(this).parent().remove();
|
||||||
//delBackground(this_bgfile);
|
//delBackground(this_bgfile);
|
||||||
|
Reference in New Issue
Block a user