Changeset 35892

Show
Ignore:
Timestamp:
11/11/09 21:52:25 (4 years ago)
Author:
NeoCat
Message:

double check since_id

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • websites/twicli/twicli.html

    r35874 r35892  
    722722                nr_page = 1; 
    723723        } 
     724 
     725        // double check since_id 
     726        if (!no_since_id && since_id) 
     727                for (var i = 0; i < tw.length; i++) 
     728                        if (tw[i].id <= since_id) 
     729                                tw.splice(i--, 1); 
     730 
    724731        twShowToNode(tw, $("tw"), false, false, true, true, true); 
    725732        if (tl_oldest_id && update_reply_counter-- <= 0) {