Skip to content
This repository was archived by the owner on Nov 15, 2017. It is now read-only.

Commit 66e7742

Browse files
committed
fixed case where no abp block count
1 parent b13c576 commit 66e7742

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/info.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ function updateRequestData() {
8181
/******************************************************************************/
8282

8383
function renderNumber(value) {
84+
if ( isNaN(value) ) {
85+
return '0';
86+
}
8487
// TODO: localization
8588
if ( +value > 1000 ) {
8689
value = value.toString();

0 commit comments

Comments
 (0)