add comment

This commit is contained in:
r888888888
2013-06-19 14:30:18 -07:00
parent 1ce24dd7c0
commit 3584cb7043

View File

@@ -68,10 +68,14 @@
});
}
});
$fields.on("autocompleteopen", function() {
Danbooru.autocompleting = true;
});
$fields.on("autocompleteclose", function() {
// this is needed otherwise the var is disabled by the time the
// keydown is triggered
setTimeout(function() {Danbooru.autocompleting = false;}, 100);
});