From 85ee0623e1e627fc4752b53dc68cc12cd9b4b143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radoslav=20=C5=A0tofko?= Date: Wed, 21 Feb 2024 13:20:35 +0100 Subject: [PATCH] update to 27 --- appinfo/info.xml | 2 +- js/script.js | 18 ++++++++---------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 03eb8af..0f6d1e4 100755 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -26,7 +26,7 @@ or use this new parameter `addAllowedFrameAncestorDomain` in `config.php` 'addAllowedFrameAncestorDomain' => '*.example.com:*' ... ```]]> - 2.2.0 + 2.2.1 agpl Radoslav Stofko customization diff --git a/js/script.js b/js/script.js index 8ec30f0..4dcefa5 100755 --- a/js/script.js +++ b/js/script.js @@ -38,13 +38,12 @@ window.addEventListener('DOMContentLoaded', function(event) { } } - function contentChanges() { applyStyleChanges([ - {el: '#content', style: 'width', value: '100%'}, - {el: '#content-vue', style: 'width', value: '100%'}, - {el: '#content', style: 'border-radius', value: '0'}, - {el: '#content-vue', style: 'border-radius', value: '0'}, + {el: '#content', style: 'width', value: '100%'}, + {el: '#content-vue', style: 'width', value: '100%'}, + {el: '#content', style: 'border-radius', value: '0'}, + {el: '#content-vue', style: 'border-radius', value: '0'}, ]); } @@ -68,10 +67,10 @@ window.addEventListener('DOMContentLoaded', function(event) { if (onlyTopMenu) { applyStyleChanges([ - {el: '#content', style: 'margin', value: 0}, - {el: '#content-vue', style: 'margin', value: 0}, - {el: '#content', style: 'height', value: '100%'}, - {el: '#content-vue', style: 'height', value: '100%'}, + {el: '#content', style: 'margin', value: 0}, + {el: '#content-vue', style: 'margin', value: 0}, + {el: '#content', style: 'height', value: '100%'}, + {el: '#content-vue', style: 'height', value: '100%'}, ]) } } @@ -96,5 +95,4 @@ window.addEventListener('DOMContentLoaded', function(event) { ]); } } - });