diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-07 19:04:53 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-07 19:04:53 +0200 |
commit | ed42d3fb7ccbd46ca8aadb8a623b3bb1e7721441 (patch) | |
tree | eca71d1882e6f53b5cd51d7782ed752bf89071ee | |
parent | c8e509339f2708fd5c3a31361210ac9a3b33f7ab (diff) |
Fix update
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | js/app-inject-14.js | 5 | ||||
-rw-r--r-- | js/app/App.js | 6 | ||||
-rw-r--r-- | templates/index.php | 3 |
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', [ |