Cleanup. (Skin editor)

This commit is contained in:
2023-03-15 15:44:32 +08:00
parent 2207c80951
commit a2391aeb22
4 changed files with 5 additions and 8 deletions

View File

@@ -146,12 +146,12 @@ window.onload = function () {
app.find("tbr").replaceWith(function () {
return msg($(this).text());
});
addAddButton(tree).on("click", function (event) {
addAddButton(tree).on("click", function () {
if (clist) clist.remove();
});
tv.on("mousemove", null, null, onMouseMove);
$(".tgbtn").on("click", function (event) {
$(".tgbtn").on("click", function () {
var btn = $(this);
btn.toggleClass("tgbtn-active");
onToggleButtonClick(btn.attr("id"), btn.hasClass("tgbtn-active"));