aboutsummaryrefslogtreecommitdiff
path: root/mavigator-server/src/main/twirl/mavigator/views/app.scala.html
diff options
context:
space:
mode:
Diffstat (limited to 'mavigator-server/src/main/twirl/mavigator/views/app.scala.html')
-rw-r--r--mavigator-server/src/main/twirl/mavigator/views/app.scala.html9
1 files changed, 3 insertions, 6 deletions
diff --git a/mavigator-server/src/main/twirl/mavigator/views/app.scala.html b/mavigator-server/src/main/twirl/mavigator/views/app.scala.html
index 6985e01..00459a9 100644
--- a/mavigator-server/src/main/twirl/mavigator/views/app.scala.html
+++ b/mavigator-server/src/main/twirl/mavigator/views/app.scala.html
@@ -18,11 +18,6 @@
document.addEventListener("DOMContentLoaded", function(event) {
try {
var root0 = document.getElementById("@appId");
- var args0 = {
- @args.map{ case (key, value) =>
- @key: "@value",
- }
- }
while (root0.firstChild) {
root0.removeChild(root0.firstChild);
@@ -31,7 +26,9 @@
@{appId}().start({
root: root0,
assetsBase: "/assets",
- args: args0
+ args: @args.map{ case (key, value) =>
+ @key: "@value",
+ }
});
} catch(err) {