From: Alexander Ebert Date: Wed, 9 Jul 2014 09:26:22 +0000 (+0200) Subject: Some cleanup X-Git-Tag: 2.1.0_Alpha_1~568^2~11 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ede8c595cf0e5463c67d8dd63beb669bc97085ea;p=GitHub%2FWoltLab%2FWCF.git Some cleanup --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js index 20ee49384d..3d235e736e 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js @@ -12,14 +12,6 @@ RedactorPlugins.wbbcode = { * Initializes the RedactorPlugins.wbbcode plugin. */ init: function() { - /*var $dropdown = this._createSmileyDropdown(); - - this.buttonReplace('smiley', 'wsmiley', 'Smiley', $.proxy(function(btnName, $button, btnObject, e) { - this.dropdownShow(e, btnName); - }, this)); - this.buttonGet('wsmiley').data('dropdown', $dropdown); - this.buttonAwesome('wsmiley', 'fa-smile-o');*/ - this.opts.initCallback = $.proxy(function() { if (this.$source.val().length) { this.toggle(); @@ -86,33 +78,6 @@ RedactorPlugins.wbbcode = { } }, - /** - * Creates the smiley dropdown. - */ - _createSmileyDropdown: function() { - var $dropdown = $('