[SSE] Fix drag and drop in statusbar for safari

This commit is contained in:
JuliaSvinareva 2021-09-01 17:18:44 +03:00
parent 2dd3d0a95b
commit fc679a0c17

View file

@ -200,10 +200,10 @@ define([
tab.$el.children().on(
{dragstart: $.proxy(function (e) {
var event = e.originalEvent;
if (!Common.Utils.isIE) {
if (!Common.Utils.isIE && !Common.Utils.isSafari) {
var img = document.createElement('div');
event.dataTransfer.setDragImage(img, 0, 0);
} else {
} else if (Common.Utils.isIE) {
this.bar.selectTabs.forEach(function (tab) {
tab.$el.find('span').prop('title', '');
});