diff --git a/template/chat.tpl b/template/chat.tpl index 36ad055..7d70128 100644 --- a/template/chat.tpl +++ b/template/chat.tpl @@ -203,6 +203,7 @@ $('#chatInput').jCounter(); $('#chatControls .copyright').click(function (event) { event.preventDefault(); + if ($.wcfIsset('chatCopyrightDialog')) return WCF.showDialog('chatCopyrightDialog', true, { title: 'Tims Chat{if CHAT_SHOW_VERSION} {$chatVersion}{/if}' }); var container = $('
'); container.load('{link controller='Chat' action='Copyright'}{/link}', function() { $('body').append(container);