summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-08-07 19:04:53 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-08-07 19:04:53 +0200
commited42d3fb7ccbd46ca8aadb8a623b3bb1e7721441 (patch)
treeeca71d1882e6f53b5cd51d7782ed752bf89071ee /js
parentc8e509339f2708fd5c3a31361210ac9a3b33f7ab (diff)
Fix update
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'js')
-rw-r--r--js/app-inject-14.js5
-rw-r--r--js/app/App.js6
2 files changed, 6 insertions, 5 deletions
diff --git a/js/app-inject-14.js b/js/app-inject-14.js
deleted file mode 100644
index 20976dacc..000000000
--- a/js/app-inject-14.js
+++ /dev/null
@@ -1,5 +0,0 @@
-$('#content.app-news')
- .attr('ng-app', 'News')
- .attr('ng-cloak', '')
- .attr('ng-strict-di', '')
- .attr('ng-controller', 'AppController as App'); \ No newline at end of file
diff --git a/js/app/App.js b/js/app/App.js
index c1e4d667d..4c1e553de 100644
--- a/js/app/App.js
+++ b/js/app/App.js
@@ -8,5 +8,11 @@
* @copyright Bernhard Posselt 2014
*/
+$('#content.app-news')
+ .attr('ng-app', 'News')
+ .attr('ng-cloak', '')
+ .attr('ng-strict-di', '')
+ .attr('ng-controller', 'AppController as App');
+
/* jshint unused: false */
var app = angular.module('News', ['ngRoute', 'ngSanitize', 'ngAnimate']);