diff --git a/public/self/js/Director/detection.js b/public/self/js/Director/detection.js index e242e29b2..d97473e25 100644 --- a/public/self/js/Director/detection.js +++ b/public/self/js/Director/detection.js @@ -450,7 +450,7 @@ function updateSetting(){ hidePopup(); // show_region_attributes_update_panel(); var set_attributes = document.getElementById("set_attributes") - set_attributes.setAttribute('style', 'height:70rem;overflow:auto;'+'top:' + 185 + 'px;left:'+ 50 +'px;width:'+ 502+'px;position:absolute'); + set_attributes.setAttribute('style', 'overflow:auto;'+'top:' + 185 + 'px;left:'+ 50 +'px;width:'+ 502+'px;position:absolute'); update_attributes_update_panel(); $('#message_panel').css('display','block'); $('#message_panel .content').css('display','inline'); diff --git a/public/self/js/Director/labelingSelfDefine.js b/public/self/js/Director/labelingSelfDefine.js index de0f67df8..79ab5de8e 100644 --- a/public/self/js/Director/labelingSelfDefine.js +++ b/public/self/js/Director/labelingSelfDefine.js @@ -2047,6 +2047,8 @@ function set_region_annotations_to_default_value(rid) { function show_tpye_attribute(){ sessionStorage.setItem('attr_id','type'); // sessionStorage.setItem(\'predict_task_id\',\'"+task_id +"\'); + var set_attributes1 = document.getElementById("set_attributes") + set_attributes1.setAttribute('style', 'height:70rem;'); show_attribute_properties(); show_tpye_attribute_options(); @@ -2054,7 +2056,9 @@ function show_tpye_attribute(){ function show_color_attribute(){ - sessionStorage.setItem('attr_id','color'); + sessionStorage.setItem('attr_id','color'); + var set_attributes2 = document.getElementById("set_attributes") + set_attributes2.setAttribute('style', 'height:70rem;'); var isTrue = show_attribute_properties_color(); if (!isTrue){ return;