summaryrefslogtreecommitdiffstats
path: root/js/app/App.js
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2018-08-20 12:32:49 +0200
committerGitHub <noreply@github.com>2018-08-20 12:32:49 +0200
commit1df733aa75c1096ee407433053a126510764db05 (patch)
tree4c14598629f536074321e57393d06e5c0ee6f085 /js/app/App.js
parente097e80fc4454481fbc136f8a61e8017db74ed63 (diff)
parent23abfedcfa82b9148016d7b93df7af52d6eb090a (diff)
Merge pull request #312 from nextcloud/14-bump-scroll-fixes
New layout fix, scrolling and keyboard shortcuts fixes
Diffstat (limited to 'js/app/App.js')
-rw-r--r--js/app/App.js6
1 files changed, 6 insertions, 0 deletions
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']);