Remove obsolete code

This commit is contained in:
Tautvidas Sipavičius
2015-12-17 18:03:16 +02:00
parent 89782bc94b
commit 1f99345e7b

View File

@ -90,7 +90,6 @@ define([
}); });
}, },
onDomRefresh: function() { onDomRefresh: function() {
var that = this;
this.$el.parent().stick_in_parent({ this.$el.parent().stick_in_parent({
offset_top: 32, offset_top: 32,
}); });
@ -169,10 +168,8 @@ define([
}, },
initialize: function(options) { initialize: function(options) {
this.availableStyles = options.availableStyles; this.availableStyles = options.availableStyles;
var that = this;
}, },
onRender: function() { onRender: function() {
var that = this;
this.$('.mailpoet_color').spectrum({ this.$('.mailpoet_color').spectrum({
clickoutFiresChange: true, clickoutFiresChange: true,
showInput: true, showInput: true,