diff --git a/client/modules/crm/src/view-setup-handlers/document/record-list-drag-n-drop.js b/client/modules/crm/src/view-setup-handlers/document/record-list-drag-n-drop.js index b031b66a58..91a624d00a 100644 --- a/client/modules/crm/src/view-setup-handlers/document/record-list-drag-n-drop.js +++ b/client/modules/crm/src/view-setup-handlers/document/record-list-drag-n-drop.js @@ -29,7 +29,7 @@ import _ from 'underscore'; import {Events} from 'bullbone'; -let Handler = function (view) { +const Handler = function (view) { this.view = view; }; @@ -41,9 +41,9 @@ _.extend(Handler.prototype, { }, disable: function () { - let $el = this.view.$el.parent(); + const $el = this.view.$el.parent(); /** @type {Element} */ - let el = $el.get(0); + const el = $el.get(0); $el.off('drop'); @@ -63,8 +63,8 @@ _.extend(Handler.prototype, { initDragDrop: function () { this.disable(); - let $el = this.view.$el.parent(); - let el = $el.get(0); + const $el = this.view.$el.parent(); + const el = $el.get(0); $el.on('drop', e => { e.preventDefault(); @@ -103,7 +103,7 @@ _.extend(Handler.prototype, { renderDrop: function () { this.dropEntered = true; - let $backdrop = + const $backdrop = $('