Skip to content

Commit 6ca4e35

Browse files
committed
With feeling this time trying to fix JS error
1 parent e7cd362 commit 6ca4e35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/static/a/BNETDocs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function BNETDocs() {
108108
this.fTimeToLocale = function() {
109109
var timestamps = document.getElementsByTagName('time');
110110
for (var id in timestamps) {
111-
if (self.isNumeric(id) &&
111+
if (timestamps[id].attributes === undefined ||
112112
timestamps[id].attributes.datetime === undefined
113113
) continue;
114114
var d = new Date(timestamps[id].attributes.datetime.value);

0 commit comments

Comments
 (0)