Browse files

don't show wrong hint for current cursor position.

  • Loading branch information...
1 parent 41b19d5 commit e26f5521c49a82a02e8b6cc48317dfb0375b609b @toolness toolness committed Jun 11, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 js/fc/ui/context-sensitive-help.js
View
2 js/fc/ui/context-sensitive-help.js
@@ -69,6 +69,8 @@ define(["./mark-tracker"], function(MarkTracker) {
codeMirror.on("change", clearHelp);
codeMirror.on("cursor-activity", function() {
+ clearTimeout(timeout);
+
// people may not want helpful hints
if ($("#hints-nav-item .checkbox").hasClass("off")) return;

0 comments on commit e26f552

Please sign in to comment.