mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix menu error for workspace tab button
This commit is contained in:
parent
5ec3544340
commit
a0d15e6e7b
@ -102,6 +102,7 @@ RED.tabs = (function() {
|
||||
var menuButton = $('<div class="red-ui-tab-button red-ui-tabs-menu"><a href="#"><i class="fa fa-caret-down"></i></a></div>').appendTo(wrapper);
|
||||
var menuButtonLink = menuButton.find('a')
|
||||
var menuOpen = false;
|
||||
var menu;
|
||||
menuButtonLink.on("click", function(evt) {
|
||||
evt.stopPropagation();
|
||||
evt.preventDefault();
|
||||
@ -117,7 +118,7 @@ RED.tabs = (function() {
|
||||
} else if (Array.isArray(options.menu)) {
|
||||
menuOptions = options.menu;
|
||||
}
|
||||
var menu = RED.menu.init({options: menuOptions});
|
||||
menu = RED.menu.init({options: menuOptions});
|
||||
menu.css({
|
||||
position: "absolute"
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user