aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/static/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/webui/static/js/main.js')
-rw-r--r--fg21sim/webui/static/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/fg21sim/webui/static/js/main.js b/fg21sim/webui/static/js/main.js
index 8d843a9..27638a7 100644
--- a/fg21sim/webui/static/js/main.js
+++ b/fg21sim/webui/static/js/main.js
@@ -142,8 +142,8 @@ var showModal = function (modalBox, data) {
.attr("type", "button")
.on("click", btn.click).appendTo(p);
});
+ modalBox.append(p);
}
- modalBox.append(p);
// Show the modal box
modalBox.modal();
};