aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/language_switch/flags.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/language_switch/flags.tpl b/plugins/language_switch/flags.tpl
index 06d438550..6d51cad38 100644
--- a/plugins/language_switch/flags.tpl
+++ b/plugins/language_switch/flags.tpl
@@ -34,7 +34,7 @@
</div>
</li>
{html_head}
-{if $themeconf.template=='yoga' and $themeconf.theme=='Sylvia'}
+{if $themeconf.name == 'Sylvia'}
<link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch.css'}">
{else}
<link rel="stylesheet" type="text/css" href="{$ROOT_URL}{$LANGUAGE_SWITCH_PATH|@cat:'language_switch-default.css'}">