Changeset 39144

Show
Ignore:
Timestamp:
06/13/12 22:49:01 (22 months ago)
Author:
NeoCat
Message:

Merge remote-tracking branch 'wa-/reply_all'

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • websites/twicli/twicli.js

    r39143 r39144  
    606606        var ele = $(tw_id); 
    607607        if (selected_menu.id != "direct" && reply_to_all && ele) { 
    608                 var users = (ele.tw.retweeted_status||ele.tw).text.match(/@\w+/); 
     608                var users = (ele.tw.retweeted_status||ele.tw).text.match(/@\w+/g); 
    609609                if (users) 
    610                         head = head + (users.join(" ")+" ").replace(head, '').replace('@'+myname+' ', ''); 
     610                        head = head + (users.uniq().join(" ")+" ").replace(head, '').replace('@'+myname+' ', ''); 
    611611        } 
    612612        if (document.frm.status.value.indexOf(head) !== 0) // 連続押しガード