mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Remove console.log debug from tray
This commit is contained in:
parent
ea41a0e842
commit
feeba77f16
@ -100,7 +100,6 @@ RED.tray = (function() {
|
||||
$("#header-shade").show();
|
||||
$("#editor-shade").show();
|
||||
RED.sidebar.config.disable();
|
||||
console.log("init width",el.width())
|
||||
tray.preferredWidth = Math.max(el.width(),500);
|
||||
body.css({"minWidth":tray.preferredWidth-40});
|
||||
|
||||
@ -113,13 +112,9 @@ console.log("init width",el.width())
|
||||
el.width(tray.preferredWidth);
|
||||
}
|
||||
|
||||
console.log("preferred width",tray.preferredWidth)
|
||||
|
||||
|
||||
tray.width = el.width();
|
||||
if (tray.width > $("#editor-stack").position().left-8) {
|
||||
tray.width = Math.max(0/*tray.preferredWidth*/,$("#editor-stack").position().left-8);
|
||||
console.log("setting width on create",tray.width);
|
||||
el.width(tray.width);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user