Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Reverse order of setting ran to false so that the throttled function …

…can call its own throttler and ensure that it will run itself again eventually. This fixes paging when the minRowsPerPage/maxRowsPerPage is less than the size of the visible area, allowing the processScroll to keep calling itself until it has covered the visible area.
  • Loading branch information...
commit c827192bd914610ad7227038c03b60d652e618e6 1 parent b7491c8
Kris Zyp authored August 06, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  util/misc.js
2  util/misc.js
@@ -27,8 +27,8 @@ define([], function(){
27 27
 				ran = true;
28 28
 				var a = arguments;
29 29
 				setTimeout(function(){
30  
-					cb.apply(context, a);
31 30
 					ran = false;
  31
+					cb.apply(context, a);
32 32
 				}, delay);
33 33
 			}
34 34
 		},

0 notes on commit c827192

Please sign in to comment.
Something went wrong with that request. Please try again.