Simplify settings views to use methods defined in base settings view

This commit is contained in:
Tautvidas Sipavičius
2017-04-16 13:09:01 +03:00
parent 167a605658
commit aa2416f353
12 changed files with 33 additions and 142 deletions

View File

@@ -71,13 +71,6 @@ define([
this.enableDragging();
this.enableShowingTools();
},
disableDragging: function() {
this.$('.mailpoet_content').addClass('mailpoet_ignore_drag');
},
enableDragging: function() {
this.$('.mailpoet_content').removeClass('mailpoet_ignore_drag');
},
});
Module.TextBlockToolsView = base.BlockToolsView.extend({