From 383b7928cf41b750ec367abfc8cbfdc71e1a6291 Mon Sep 17 00:00:00 2001 From: git-marijus Date: Thu, 24 Aug 2017 22:32:28 +0200 Subject: minor adjustmen to the help language selector --- view/js/mod_help.js | 2 +- view/tpl/help.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'view') diff --git a/view/js/mod_help.js b/view/js/mod_help.js index 257be67e6..8ee89dd61 100644 --- a/view/js/mod_help.js +++ b/view/js/mod_help.js @@ -103,7 +103,7 @@ $(document).ready(function () { window.history.pushState({}, '', '/' + pathParts.join('/')); // Highlight the language in the language selector that is currently viewed - $('.lang-selector').find('.lang-choice:contains("' + help_language + '")').css('font-weight','bold').css('background-color','lightgray'); + $('.lang-selector').find('.lang-choice:contains("' + help_language + '")').addClass('active'); // Construct the links to the available translations based and populate the selector menu $('.lang-selector').find('.lang-choice').each(function (idx, a) { diff --git a/view/tpl/help.tpl b/view/tpl/help.tpl index bdb25edf1..d36494123 100644 --- a/view/tpl/help.tpl +++ b/view/tpl/help.tpl @@ -1,9 +1,9 @@
-
+