[FIX] web_editor: allow website_animate to preview image animation

Animation preview on images did not work as the web_editor stopped
every potential animation when an image entered edition. As the
behavior does not seem useful as there is no infinite animation which
is possible with standard odoo (and even if it was the case, it would
not be too strange that the animation continues), the feature is
removed with this commit.
This commit is contained in:
qsm-odoo
2016-10-04 16:43:34 +02:00
parent 4b6bbbe5e6
commit 6c284a18d4
@@ -216,9 +216,6 @@ eventHandler.modules.popover.button.update = function ($container, oStyle) {
if (previous) {
$(previous).css({"-webkit-animation-play-state": "", "animation-play-state": "", "-webkit-transition": "", "transition": "", "-webkit-animation": "", "animation": ""});
}
if (oStyle.image) {
$(oStyle.image).css({"-webkit-animation": "none", "animation": "none"});
}
// end
fn_boutton_update.call(this, $container, oStyle);