mirror of
https://github.com/node-red/node-red.git
synced 2025-12-27 23:34:38 +01:00
Merge pull request #5122 from AllanOricil/remote_editor_shade_tray_click_listener
feat: tray's primary button function will no longer run when clicking anywhere in #red-ui-editor-shade
This commit is contained in:
@@ -230,14 +230,6 @@
|
||||
editorStack = $("#red-ui-editor-stack");
|
||||
$(window).on("resize", handleWindowResize);
|
||||
RED.events.on("sidebar:resize",handleWindowResize);
|
||||
$("#red-ui-editor-shade").on("click", function() {
|
||||
if (!openingTray) {
|
||||
var tray = stack[stack.length-1];
|
||||
if (tray && tray.primaryButton) {
|
||||
tray.primaryButton.click();
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
show: function show(options) {
|
||||
lowerTrayZ();
|
||||
|
||||
Reference in New Issue
Block a user