Merge pull request #262 from mailpoet/editor_transitions
Editor: fix transitions and thumbnails
This commit is contained in:
@ -147,7 +147,7 @@ define([
|
|||||||
|
|
||||||
this.$el.addClass(className);
|
this.$el.addClass(className);
|
||||||
this.$el.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd animationend', function() {
|
this.$el.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd animationend', function() {
|
||||||
that.$el.removeClass('mailpoet_block_transition_out');
|
that.$el.removeClass(className);
|
||||||
promise.resolve();
|
promise.resolve();
|
||||||
});
|
});
|
||||||
return promise;
|
return promise;
|
||||||
|
@ -262,7 +262,7 @@ define([
|
|||||||
|
|
||||||
this.$el.addClass(className);
|
this.$el.addClass(className);
|
||||||
this.$el.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd animationend', function() {
|
this.$el.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd animationend', function() {
|
||||||
that.$el.removeClass('mailpoet_block_transition_out');
|
that.$el.removeClass(className);
|
||||||
promise.resolve();
|
promise.resolve();
|
||||||
});
|
});
|
||||||
return promise;
|
return promise;
|
||||||
|
@ -222,7 +222,7 @@ define([
|
|||||||
|
|
||||||
this.$el.addClass(className);
|
this.$el.addClass(className);
|
||||||
this.$el.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd animationend', function() {
|
this.$el.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd animationend', function() {
|
||||||
that.$el.removeClass('mailpoet_block_transition_out');
|
that.$el.removeClass(className);
|
||||||
promise.resolve();
|
promise.resolve();
|
||||||
});
|
});
|
||||||
return promise;
|
return promise;
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
"d3": "~3.5.5",
|
"d3": "~3.5.5",
|
||||||
"handlebars": "3.0.3",
|
"handlebars": "3.0.3",
|
||||||
"history": "^1.12.5",
|
"history": "^1.12.5",
|
||||||
"html2canvas": "latest",
|
"html2canvas": "0.5.0-alpha2",
|
||||||
"interact.js": "latest",
|
"interact.js": "latest",
|
||||||
"moment": "^2.10.3",
|
"moment": "^2.10.3",
|
||||||
"napa": "^1.2.0",
|
"napa": "^1.2.0",
|
||||||
|
Reference in New Issue
Block a user