fix broken tabs dnd

This commit is contained in:
Benjamin Pasero 2016-06-15 06:52:50 +02:00
parent f6da401f2f
commit 57c833a812

View file

@ -360,7 +360,6 @@ export class TabsTitleControl extends TitleControl {
// Open on Click
this.tabDisposeables.push(DOM.addDisposableListener(tab, DOM.EventType.MOUSE_DOWN, (e: MouseEvent) => {
DOM.EventHelper.stop(e);
tab.blur();
if (e.button === 0 /* Left Button */ && !DOM.findParentWithClass(<any>e.target || e.srcElement, 'monaco-action-bar', 'tab')) {