summaryrefslogtreecommitdiffstats
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
parentc8e509339f2708fd5c3a31361210ac9a3b33f7ab (diff)
Fix update
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r--js/app-inject-14.js5
-rw-r--r--js/app/App.js6
-rw-r--r--templates/index.php3
3 files changed, 7 insertions, 7 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']);
diff --git a/templates/index.php b/templates/index.php
index 363b0fee0..c3c1f7feb 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -2,8 +2,7 @@
use OCA\News\Plugin\Client\Plugin;
script('news', [
- 'build/app.min',
- 'app-inject-14'
+ 'build/app.min'
]);
style('news', [