添加td_tech_title非空判断

This commit is contained in:
z9hang 2014-11-24 17:12:12 +08:00
parent ccaf2f8ee5
commit cb88dd9064
1 changed files with 5 additions and 1 deletions

View File

@ -82,7 +82,11 @@
break;
}
}
document.getElementById('td_tech_title').innerHTML = title1;
var obj = document.getElementById('td_tech_title');
if(!(obj == "undefined" || obj == null))
{
obj.innerHTML = title1;
}
}
</script>