From: Marcel Werk Date: Mon, 23 Nov 2015 23:07:07 +0000 (+0100) Subject: Fixed usage of smileys in spoiler bbcode titles X-Git-Tag: 2.1.9~17 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ad13e9f71dc619ec17ef326ba7afd411e12fb3d3;p=GitHub%2FWoltLab%2FWCF.git Fixed usage of smileys in spoiler bbcode titles --- 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}'); }