]> git.wh0rd.org Git - tt-rss.git/commitdiff
tweak catchup_callback
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 1 Jul 2007 03:20:55 +0000 (04:20 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 1 Jul 2007 03:20:55 +0000 (04:20 +0100)
viewfeed.js

index 973c436e54d066e5847ad2ab4c792cb7c0c7abb4..1d6a4a62b72a83d2774612972e54a137e8ae6a8f 100644 (file)
@@ -22,11 +22,11 @@ function catchup_callback() {
        if (xmlhttp_rpc.readyState == 4) {
                try {
                        debug("catchup_callback");
-                       if (_catchup_callback_func) {
-                               setTimeout(_catchup_callback_func, 100);        
-                       }
                        notify("");                     
                        all_counters_callback();
+                       if (_catchup_callback_func) {
+                               setTimeout(_catchup_callback_func, 10); 
+                       }
                } catch (e) {
                        exception_error("catchup_callback", e);
                }