[SSE] Fix drag and drop in statusbar for safari
This commit is contained in:
parent
2dd3d0a95b
commit
fc679a0c17
|
@ -200,10 +200,10 @@ define([
|
||||||
tab.$el.children().on(
|
tab.$el.children().on(
|
||||||
{dragstart: $.proxy(function (e) {
|
{dragstart: $.proxy(function (e) {
|
||||||
var event = e.originalEvent;
|
var event = e.originalEvent;
|
||||||
if (!Common.Utils.isIE) {
|
if (!Common.Utils.isIE && !Common.Utils.isSafari) {
|
||||||
var img = document.createElement('div');
|
var img = document.createElement('div');
|
||||||
event.dataTransfer.setDragImage(img, 0, 0);
|
event.dataTransfer.setDragImage(img, 0, 0);
|
||||||
} else {
|
} else if (Common.Utils.isIE) {
|
||||||
this.bar.selectTabs.forEach(function (tab) {
|
this.bar.selectTabs.forEach(function (tab) {
|
||||||
tab.$el.find('span').prop('title', '');
|
tab.$el.find('span').prop('title', '');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue