diff --git a/mayan/apps/appearance/templates/appearance/base.html b/mayan/apps/appearance/templates/appearance/base.html index a959bb2e93..46056cf83a 100644 --- a/mayan/apps/appearance/templates/appearance/base.html +++ b/mayan/apps/appearance/templates/appearance/base.html @@ -30,7 +30,7 @@
{% common_check_sqlite as check_sqlite %} - {% if common_check_sqlite or 1 %} + {% if common_check_sqlite %}

{% trans 'Warning' %} {{ check_sqlite }}

diff --git a/mayan/apps/appearance/templates/appearance/root.html b/mayan/apps/appearance/templates/appearance/root.html index 2da57630c3..ca6373f6c0 100644 --- a/mayan/apps/appearance/templates/appearance/root.html +++ b/mayan/apps/appearance/templates/appearance/root.html @@ -117,11 +117,11 @@ MayanImage.intialize({ templateInvalidDocument: '{% spaceless %}{% include "documents/invalid_document.html" %}{% endspaceless %}' }); + app.doBodyAdjust(); app.doToastrMessages(); app.resizeFullHeight(); app.setupSelect2(); app.setupScrollView(); - } jQuery(document).ready(function() {