Don't switch BG on delete click

This commit is contained in:
SillyLossy
2023-03-27 18:27:43 +03:00
parent 1e73248520
commit 7fb8166e7b

View File

@ -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);