[SSE] Fix bug when moving tabs (do not allow move tabs when pressed shift, ctrl) (#297)

This commit is contained in:
JuliaSvinareva 2020-01-14 17:09:26 +03:00 committed by Alexey Golubev
parent 5847aeaac3
commit 760fa32c88

View file

@ -233,9 +233,10 @@ define([
mousedown: $.proxy(function (e) {
if (this.bar.options.draggable && !_.isUndefined(dragHelper) && (3 !== e.which)) {
if (!tab.isLockTheDrag) {
if (!e.ctrlKey && !e.metaKey && !e.shiftKey)
if (!e.ctrlKey && !e.metaKey && !e.shiftKey) {
tab.changeState();
dragHelper.setHookTabs(e, this.bar, this.bar.selectTabs);
dragHelper.setHookTabs(e, this.bar, this.bar.selectTabs);
}
}
}
}, this)