From ad13e9f71dc619ec17ef326ba7afd411e12fb3d3 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 24 Nov 2015 00:07:07 +0100 Subject: [PATCH] Fixed usage of smileys in spoiler bbcode titles --- com.woltlab.wcf/templates/spoilerBBCodeTag.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com.woltlab.wcf/templates/spoilerBBCodeTag.tpl b/com.woltlab.wcf/templates/spoilerBBCodeTag.tpl index a4d4ee24b0..8b29a6134a 100644 --- a/com.woltlab.wcf/templates/spoilerBBCodeTag.tpl +++ b/com.woltlab.wcf/templates/spoilerBBCodeTag.tpl @@ -1,7 +1,7 @@
- {if $buttonTitle}{@$buttonTitle}{else}{lang}wcf.bbcode.spoiler.show{/lang}{/if} + {if $buttonTitle}{@$buttonTitle}{else}{lang}wcf.bbcode.spoiler.show{/lang}{/if}
@@ -24,7 +24,7 @@ WCF.DOMNodeInsertedHandler.execute(); } - if (!$toggle.data('buttonTitle')) { + if (!$toggle.data('hasCustomLabel')) { if ($container.is(':visible')) { $toggle.text('{lang}wcf.bbcode.spoiler.hide{/lang}'); } -- 2.20.1