summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-08-10 16:22:36 +0200
committerChristophe Simonis <chs@odoo.com>2017-08-10 16:22:36 +0200
commit85571bb78c9acc4e867cc3b480be9236a756fc22 (patch)
tree11e77c15caeeb6cb01e09835892bc75351e0c6ba /addons/website/static/src/js
parentdeba788b4cdc22bb50e0c19adb5ed35ed33c0a01 (diff)
parentdde62073baf5a0cc45678e4504fe2f54ccffcf18 (diff)
[MERGE] forward port branch saas-15 up to dde62073baf
Diffstat (limited to 'addons/website/static/src/js')
-rw-r--r--addons/website/static/src/js/website.snippets.animation.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/website/static/src/js/website.snippets.animation.js b/addons/website/static/src/js/website.snippets.animation.js
index 0a1cd2e2923..234a43463dd 100644
--- a/addons/website/static/src/js/website.snippets.animation.js
+++ b/addons/website/static/src/js/website.snippets.animation.js
@@ -416,8 +416,9 @@ animation.registry.media_video = animation.Class.extend({
if (!this.$target.has('> iframe').length) {
var editor = '<div class="css_editable_mode_display">&nbsp;</div>';
var size = '<div class="media_iframe_video_size">&nbsp;</div>';
- this.$target.html(editor+size+'<iframe src="'+_.escape(this.$target.data("src"))+'" frameborder="0" allowfullscreen="allowfullscreen"></iframe>');
+ this.$target.html(editor+size);
}
+ this.$target.html(this.$target.html()+'<iframe src="'+_.escape(this.$target.data("src"))+'" frameborder="0" allowfullscreen="allowfullscreen"></iframe>');
return this._super.apply(this, arguments);
},
});