aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/js/mod_help.js2
-rw-r--r--view/tpl/help.tpl4
2 files changed, 3 insertions, 3 deletions
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 @@
<div id="help-content" class="generic-content-wrapper">
- <div class="section-title-wrapper">
+ <div class="clearfix section-title-wrapper">
<div class="pull-right">
<div class="btn-group">
<button type="button" class="btn btn-outline-secondary btn-sm dropdown-toggle" data-toggle="dropdown">
- <i class="fa fa-language" style="font-size: 1.4em;"></i><span class="caret"></span>
+ <i class="fa fa-language" style="font-size: 1.4em;"></i>
</button>
<div class="dropdown-menu dropdown-menu-right flex-column lang-selector">
<a class="dropdown-item lang-choice" href="/help">de</a>