Add undo/redo history

This commit is contained in:
Misode
2019-09-13 14:50:20 +02:00
parent 6a4e9a5c38
commit 7f8d21cee8
3 changed files with 47 additions and 3 deletions
+2 -2
View File
@@ -7,11 +7,11 @@ function changeVersion(version) {
$('#versionLabel').text(version);
structure = json.root;
components = json.components;
invalidated();
updateView();
});
}
function invalidated() {
function updateView() {
if (structure) {
generateTable();
if (i18next.isInitialized) {