From ede8c595cf0e5463c67d8dd63beb669bc97085ea Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 9 Jul 2014 11:26:22 +0200 Subject: [PATCH] Some cleanup --- .../js/3rdParty/redactor/plugins/wbbcode.js | 35 ------------------- 1 file changed, 35 deletions(-) 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 = $('