summaryrefslogtreecommitdiffstats
path: root/data/js/main.js
diff options
context:
space:
mode:
authorJoakim Reinert <mail@jreinert.com>2015-05-01 22:28:54 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-05-05 12:21:27 +0200
commitda835670f796774d1f98c05dfdf7da1c7ba2655a (patch)
tree22922112e521779d76c7f2b2c418cee64a729e17 /data/js/main.js
parentf7da6a0ee8c3b79deb8995e592a130a4a409dc70 (diff)
Use global appConfig js variable instead of passing it down
Initialize it in header
Diffstat (limited to 'data/js/main.js')
-rw-r--r--data/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/js/main.js b/data/js/main.js
index 92c016d79..5710dcb68 100644
--- a/data/js/main.js
+++ b/data/js/main.js
@@ -22,7 +22,7 @@ requirejs.config({
require(['application', 'jquery'], function (App, $) {
App.initialize();
$(document).ready(function () {
- App.onPageLoaded(window.appConfig);
+ App.onPageLoaded();
});
});
})();