mirror of https://github.com/node-red/node-red.git
Support ctrl key to select tabs for Windows
parent
3a1d0f3695
commit
361dc194ee
|
@ -218,7 +218,7 @@ RED.tabs = (function() {
|
|||
var thisTab = $(this).parent();
|
||||
var fireSelectionChanged = false;
|
||||
if (options.onselect) {
|
||||
if (evt.metaKey) {
|
||||
if (evt.metaKey || evt.ctrlKey) {
|
||||
if (thisTab.hasClass("selected")) {
|
||||
thisTab.removeClass("selected");
|
||||
if (thisTab[0] !== currentTab[0]) {
|
||||
|
|
Loading…
Reference in New Issue