Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't need to wrap poll in an anonymous function.

  • Loading branch information...
commit 9c4e80ffe79bf7557813887da000d78730485cdd 1 parent 269fd43
@thatismatt authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 examples/codereview/static/codereview.js
View
4 examples/codereview/static/codereview.js
@@ -19,4 +19,6 @@ var poll = function() {
poll();
});
};
-setTimeout(function(){poll();},1);//chromium/chrome fix : setTimeout to end the loading state
+
+setTimeout(poll, 1); // chrome fix: end loading state
+
Please sign in to comment.
Something went wrong with that request. Please try again.