src/js/widgets/annotationsListWidget.js
branchnew-model
changeset 874 38b65761a7d5
parent 872 d777d05a16e4
--- a/src/js/widgets/annotationsListWidget.js	Thu Apr 19 19:20:41 2012 +0200
+++ b/src/js/widgets/annotationsListWidget.js	Fri Apr 20 19:13:11 2012 +0200
@@ -137,7 +137,7 @@
     }
     
     if (this.ajax_url && this.ajax_granularity) {
-        if (Math.abs(_currentTime - this.lastAjaxQuery) > this.ajax_granularity / 2) {
+        if (Math.abs(_currentTime - this.lastAjaxQuery) > (this.ajax_granularity / 2000)) {
             this.ajaxSource();
         }
     }