Skip to content
Permalink
Browse files

Fix Translation plugin issue when use translation»dropdown option

Thanks to @tmo26 and @dominiquesamson on #389
  • Loading branch information
giterlizzi committed Feb 5, 2020
1 parent e75ca01 commit 750b16c8234743b507bf36d5e7453bedc361ade6
Showing with 4 additions and 1 deletion.
  1. +1 −1 js/plugins/translation.js
  2. +3 −0 tpl/translation.php
@@ -20,7 +20,7 @@ if ($translation.length) {
$translation.find('.wikilink2').removeClass('wikilink2').css('opacity', '0.5');

if ($flag.length) {
$translation.find('.dropdown-toggle i').hide();
$translation.find('.dropdown-toggle .iconify').hide();
$translation.find('.dropdown-toggle').prepend(
jQuery('<img/>').attr({
'src' : $flag.attr('src'),
@@ -19,6 +19,9 @@

if ($TEMPLATE->getConf('showTranslation') && $translation = $TEMPLATE->getPlugin('translation')) {

global $conf;
$conf['plugin']['translation']['dropdown'] = 0;

if ($translation->istranslatable($ID)) {

$show_translation = true;

0 comments on commit 750b16c

Please sign in to comment.
You can’t perform that action at this time.