/** * Created by zhang on 2018/11/16. */ let locateObject={ init:function () { let tab_content = $('#locate').parent(); $('#locate_result').height(tab_content.height()*0.6); $('#locate_sub').height(tab_content.height()*0.4); }, onshow:function () { locateObject.init(); console.log('#locate is now visible'); console.log($("#locate").is(':visible')) } } /* $("input[name='install_setting_radios']").each(function(){ $(this).click(function(){ var settingVal = $(this).val(); let installSetting = projectInfoObj.projectInfo.property.installSetting; if(installSetting==settingVal){ return; } projectObj.project.installation_fee.updateInstallSetting(settingVal); installationFeeObj.cleanPositionIfNeed(settingVal); }); });*/