Skip to content

Commit c98aae8

Browse files
committed
cast to string
1 parent e4edb73 commit c98aae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ function convertURLsToLinks(str) {
717717
// process a domain
718718
function processDomain(object, dl, toplevel=false) {
719719

720-
if (toplevel) document.title = 'Domain ' + (object.unicodeName ? object.unicodeName : object.ldhName).toUpperCase() + ' - RDAP Lookup';
720+
if (toplevel) document.title = 'Domain ' + String(object.unicodeName ? object.unicodeName : object.ldhName).toUpperCase() + ' - RDAP Lookup';
721721

722722
if (object.hasOwnProperty("unicodeName")) {
723723
addProperty(dl, 'Name:', object.unicodeName);

0 commit comments

Comments
 (0)