summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorrhyst <rhystyers1@gmail.com>2022-10-20 17:16:30 +0100
committerBenjamin Brahmer <info@b-brahmer.de>2022-10-22 14:31:01 +0200
commit031a1726cfa4926c6250cfd8f7a55f5437ccd6a5 (patch)
treee2884a65839504a0c4b0964347f5d8b015a2ccc9 /templates
parentd18a9836561340d3b448903429d34ff7d77d2de7 (diff)
Fix NC25 UI issues
Signed-off-by: Rhys Tyers <mail@rhy.si>
Diffstat (limited to 'templates')
-rw-r--r--templates/index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/index.php b/templates/index.php
index 9ad38a0d5..fc1f1382b 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -70,10 +70,13 @@ foreach (Plugin::getScripts() as $appName => $fileName) {
</div>
<div id="app-content"
+ class="nc-major-version-<?php print \OCP\Util::getVersion()[0] ?>"
+ data-nc-major-version="<?php print \OCP\Util::getVersion()[0] ?>"
ng-class="{
'loading-content': App.loading.isLoading('content') &&
!App.loading.isLoading('global'),
- 'explore': App.isFirstRun()
+ 'explore': App.isFirstRun(),
+
}"
tabindex="-1"
news-pull-to-refresh="showPullToRefresh">