Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions auto.micro.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ AutoSuggestControl.prototype.init = function () {
//save a reference to this object
var oThis = this;
//assign the onkeyup event handler
lastDate = new Date();
var lastDate = new Date();
oThis.textbox.onkeyup = function (oEvent) {

//check for the proper location of the event object
if (!oEvent) {
oEvent = window.event;
}
newDate = new Date();
var newDate = new Date();
if (newDate.getTime() > lastDate.getTime() + 200) {
oThis.handleKeyUp(oEvent);
lastDate = newDate;
Expand Down