Commits

Luke Plant  committed 979de1e

Simplified some code.

  • Participants
  • Parent commits 7676c93

Comments (0)

Files changed (1)

File semanticeditor/media/semanticeditor/javascript/wymeditor/plugins/semantic/wymeditor.semantic.js

                   self.doc_keyup(evt);
               })
         .bind("mouseup", function(evt) {
-                  self.doc_mouseup(evt);
+                  self.update_classlist_item_all();
               });
     jQuery(this.wym._options.containersSelector).find("a")
          .bind("click", function(evt) {
     this.update_classlist_item_all(container);
 };
 
-PresentationControls.prototype.doc_mouseup = function(evt) {
-    this.update_classlist_item_all();
-};
-
 PresentationControls.prototype.update_classlist_item_all = function(cur_container) {
     var self = this;
     if (cur_container == undefined) {