fix some error

pull/22/head
kimbioinfostudio 2020-07-01 23:20:13 +08:00
parent 6816e08d67
commit f9ebeb762a
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'device.php');
</div>
<script src="assets/dashboard.min.js"></script>
<script language="JavaScript">
if $("#hostip").text().length > 15 ){
if ($("#hostip").text().length > 15 ){
var scale = Math.round(15 / $("#hostip").text().length * 15000) / 100 + "%";
$("#hostip").css("font-size", scale);
}