Changeset 3229

Show
Ignore:
Timestamp:
12/17/07 21:45:21 (5 years ago)
Author:
cho45
Message:

lang/javascript/userscripts/hatena.haiku.expandrepliestree.user.js:

展開されたエントリの reply ボタンを機能させるように

Files:
1 modified

Legend:

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

    r3228 r3229  
    66 
    77(function () { with (D()) { 
     8        function applyJavaScript (entry) { 
     9                unsafeWindow.Hatena.Haiku.ReplyButton.loadButtons(entry); 
     10        } 
     11 
    812        function expandChildReplies (entry) { 
    913                var body = $X("div[@class='list-body']", entry)[0]; 
     
    1721                                        var t = h(data.responseText.replace(/<\/?(script|i?frame)[^>]*>/g, "")); 
    1822                                        return parallel($X(".//ul[@class='list']/li[@class='entry']", t).map(function (e) { 
     23                                                applyJavaScript(e); 
    1924                                                body.appendChild(e); 
    2025                                                return wait(1).next(function () { 
     
    3439                                var t = h(data.responseText.replace(/<\/?(script|i?frame)[^>]*>/g, "")); 
    3540                                return parallel($X(".//ul[@class='list']/li[@class='entry']", t).map(function (e) { 
     41                                        applyJavaScript(e); 
    3642                                        var body = $X("div[@class='list-body']", e)[0]; 
    3743                                        entry.parentNode.insertBefore(e, entry);