aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorAndrew Manning <andrewmanning@grid.reticu.li>2017-08-25 11:32:28 +0000
committerAndrew Manning <andrewmanning@grid.reticu.li>2017-08-25 11:32:28 +0000
commit49b38bd71b27427cad1c390d81bda3b7d38d8393 (patch)
tree2f4c6ce52167fb658459f5d3a30f598f19dd04e0 /view
parent75f3e9202e191486b8c9079b08cc6de4e1251b8d (diff)
parent383b7928cf41b750ec367abfc8cbfdc71e1a6291 (diff)
downloadvolse-hubzilla-49b38bd71b27427cad1c390d81bda3b7d38d8393.tar.gz
volse-hubzilla-49b38bd71b27427cad1c390d81bda3b7d38d8393.tar.bz2
volse-hubzilla-49b38bd71b27427cad1c390d81bda3b7d38d8393.zip
Merge remote-tracking branch 'upstream/dev' into doco
Diffstat (limited to 'view')
-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>