Index: trunk/EmoticonButton/plugins/EmoticonButton/config.yaml
===================================================================
--- trunk/EmoticonButton/plugins/EmoticonButton/config.yaml (revision 640)
+++ trunk/EmoticonButton/plugins/EmoticonButton/config.yaml (revision 886)
@@ -1,5 +1,5 @@
 name: EmoticonButton
 id: emoticonbutton
-version: 1.0
+version: 1.1
 author: Fumiaki Yoshimatsu, Six Apart K.K.
 author_url: http://www.luckypines.com/mt/
Index: trunk/EmoticonButton/mt-static/plugins/EmoticonButton/js/emoticon.js
===================================================================
--- trunk/EmoticonButton/mt-static/plugins/EmoticonButton/js/emoticon.js (revision 644)
+++ trunk/EmoticonButton/mt-static/plugins/EmoticonButton/js/emoticon.js (revision 886)
@@ -50,7 +50,7 @@
 
     eventClick: function( event ) {
-        var name = event.target.id;
-        name = name.replace(/emoticon\-icon\-(\w+)/, '$1');
-        if (!name)
+        var id = event.target.id;
+        var name = id.replace(/emoticon\-icon\-(\w+)/, '$1');
+        if (!name || ( name == id ))
             return;
         var ancestor = DOM.getFirstAncestorByClassName( event.target, "emoticon-icon", true );
