diff --git a/Http/SkinEditor/app.js b/Http/SkinEditor/app.js index a43ae0b..19851fd 100644 --- a/Http/SkinEditor/app.js +++ b/Http/SkinEditor/app.js @@ -406,8 +406,9 @@ function updateLiteral(el) { var key = el.attr("key"); var m = msg("literal." + key); var o = el.children(".t-internal"); + tv.append(o); // Stashes the supplement blocks to prevent the event listeners from being detached addAddButtonLiteral(el.html(m)); - el.append(o); + el.append(o); // Restores the blocks el.children("tbr").replaceWith(function() { var m = $(this).text().split("?"); var def; diff --git a/Http/SkinEditor/index.html b/Http/SkinEditor/index.html index 8cba4bb..5da7a7c 100644 --- a/Http/SkinEditor/index.html +++ b/Http/SkinEditor/index.html @@ -7,7 +7,7 @@ - +