3
0
Fork 0

[FIX] isort, black, prettier

14.0
KKamaa 2022-12-27 10:44:35 +03:00
parent 1bf7130978
commit 356bedbb38
1 changed files with 3 additions and 6 deletions

View File

@ -5,7 +5,6 @@
odoo.define("web_drop_target", function (require) {
"use strict";
const ActionManager = require("web.ActionManager");
const FormController = require("web.FormController");
const core = require("web.core");
const qweb = core.qweb;
@ -168,7 +167,6 @@ odoo.define("web_drop_target", function (require) {
this._drop_overlay.css(overlay_css);
this._drop_overlay.removeClass("d-none");
}
}
},
@ -182,8 +180,7 @@ odoo.define("web_drop_target", function (require) {
*/
_onBodyFileDrop: function (ev) {
ev.preventDefault();
if (this._drop_overlay)
this._drop_overlay.addClass("d-none");
if (this._drop_overlay) this._drop_overlay.addClass("d-none");
},
/**