Fixed check for CKEditor support for smilies
authorAlexander Ebert <ebert@woltlab.com>
Fri, 24 Jan 2014 16:27:28 +0000 (17:27 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 24 Jan 2014 16:27:28 +0000 (17:27 +0100)
com.woltlab.wcf/templates/messageFormTabs.tpl

index 6f171075afcbf4fee24fb39d093f67de353d87f0..f01327aa09e98ab22f52b3866532891e52c0529c 100644 (file)
@@ -21,7 +21,7 @@
 <script data-relocate="true">
        //<![CDATA[
        $(function() {
-               if (jQuery.browser.mobile) $('#smiliesTab, #smilies').remove();
+               if (!$.browser.ckeditor) $('#smiliesTab, #smilies').remove();
                WCF.TabMenu.init();
        });
        //]]>