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 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/js') 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) { -- cgit v1.2.3