Changeset 18424

Show
Ignore:
Timestamp:
08/29/08 15:55:51 (5 years ago)
Author:
mattn
Message:

Ooooops.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/userscripts/show-delicious-comment-if-hatena-bookmark-comment-is-disabled.user.js

    r18423 r18424  
    223223                                        var timestamp2 = timestamp.replace(/[^0-9]/g, ''); 
    224224                                        var comment = bookmarks[n].getElementsByTagName('description')[0]; 
    225                                         comment = comment.textContent||''; 
     225                                        if (comment) comment = comment.textContent; 
     226                                        comment = comment||''; 
    226227                                        var user = bookmarks[n].getElementsByTagName('dc:creator')[0].textContent; 
    227228                                        var guid = bookmarks[n].getElementsByTagName('guid')[0].textContent;