aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-08-24 22:32:28 +0200
committergit-marijus <mario@mariovavti.com>2017-08-24 22:32:28 +0200
commit383b7928cf41b750ec367abfc8cbfdc71e1a6291 (patch)
tree80c4161f51dcf98ae3b777e99b0c6733baa88c8c
parent9cb856d5fd1505577fb50de299a63ef4ac7b5783 (diff)
downloadvolse-hubzilla-383b7928cf41b750ec367abfc8cbfdc71e1a6291.tar.gz
volse-hubzilla-383b7928cf41b750ec367abfc8cbfdc71e1a6291.tar.bz2
volse-hubzilla-383b7928cf41b750ec367abfc8cbfdc71e1a6291.zip
minor adjustmen to the help language selector
-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>