Remove console.log debug from tray

This commit is contained in:
Nick O'Leary 2016-05-06 17:20:25 +01:00
parent ea41a0e842
commit feeba77f16
1 changed files with 0 additions and 5 deletions

View File

@ -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);
}