Fix undefined projectTree

This commit is contained in:
2017-01-20 12:10:23 +01:00
parent 181cbc07d6
commit eb5fb4eb09

View File

@@ -160,7 +160,7 @@ function containerResizeY(window_height){
);
if (container_height > parseInt($('#project-container').css("min-height"))) {
if (projectTree){
if (typeof projectTree !== "undefined"){
$(projectTree).css(
{'max-height': container_height_wheader + 'px',
'height': container_height_wheader + 'px'}