Show
Ignore:
Timestamp:
08/02/08 18:10:21 (4 months ago)
Author:
cho45
Message:

親がロード済みで、子がない場合は Expand が表示されないようになった。

Expand できないときには Expand を表示しないようにするためには、
対象エントリ中にある reply のリンクが全てロード済みかどうかを判定しなくてはいけないが、
綺麗に書けない。

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/userscripts/hatena.haiku.expandrepliestree.user.js

    r16977 r16978  
    5555                        // 深すぎるので、さらに展開するためのリンクをつけたうえで終了する。 
    5656                        return next(function (i) { 
     57                                if (!$X("boolean(.//a[.//img[@alt='Reply to'] and not(@style)])", entry)) return; 
    5758                                log("level too deep. Please click the link to expand more."); 
    5859                                addExpandLink(entry, function () {