summaryrefslogtreecommitdiff
path: root/addons/website/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website/static/src')
-rw-r--r--addons/website/static/src/snippets/s_image_gallery/options.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/addons/website/static/src/snippets/s_image_gallery/options.js b/addons/website/static/src/snippets/s_image_gallery/options.js
index bc040ebbad3..3b6937ba6de 100644
--- a/addons/website/static/src/snippets/s_image_gallery/options.js
+++ b/addons/website/static/src/snippets/s_image_gallery/options.js
@@ -17,9 +17,6 @@ options.registry.gallery = options.Class.extend({
start: function () {
var self = this;
- // The snippet should not be editable
- this.$target.addClass('o_fake_not_editable').attr('contentEditable', false);
-
// Make sure image previews are updated if images are changed
this.$target.on('image_changed', 'img', function (ev) {
var $img = $(ev.currentTarget);