diff --git a/addons/web_editor/static/src/js/editor/snippets.editor.js b/addons/web_editor/static/src/js/editor/snippets.editor.js index d198af532b75ca940fb4ea97b8e36e786280ad81..46cb8dbabf4fbd0e0d1a045608c2d2aa10c6b6c6 100644 --- a/addons/web_editor/static/src/js/editor/snippets.editor.js +++ b/addons/web_editor/static/src/js/editor/snippets.editor.js @@ -2,7 +2,6 @@ odoo.define('web_editor.snippet.editor', function (require) { 'use strict'; var concurrency = require('web.concurrency'); -var Class = require('web.Class'); var core = require('web.core'); var Dialog = require('web.Dialog'); var dom = require('web.dom'); @@ -1765,7 +1764,6 @@ var SnippetsMenu = Widget.extend({ */ _makeSnippetDraggable: function ($snippets) { var self = this; - var $tumb = $snippets.find('.oe_snippet_thumbnail_img:first'); var $toInsert, dropped, $snippet; const smoothScrollOptions = {