Skip to content
Merged
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
8 changes: 4 additions & 4 deletions nipap-www/nipapwww/public/nipap.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,11 +335,11 @@ function clearPrefixSearch() {
/*
* Wrapper for pacing our searches somewhat
*
* 200ms works out to be a pretty good delay for a fast typer
* 500 ms works out to be a pretty good compromise
*/
function prefixSearchKey() {
clearTimeout(search_key_timeout);
search_key_timeout = setTimeout(function() { performPrefixSearch(false) }, 200);
search_key_timeout = setTimeout(function() { performPrefixSearch(false) }, 500);
}

/*
Expand Down Expand Up @@ -892,13 +892,13 @@ function showVRFSelectorMenu(callback, pl_ref) {
/*
* Wrapper for pacing our searches somewhat
*
* 200ms works out to be a pretty good delay for a fast typer
* 500 ms works out to be a pretty good compromise
*
* TODO: merge with prefixSearchKey
*/
function vrfSearchKey() {
clearTimeout(search_key_timeout);
search_key_timeout = setTimeout("performVRFSelectorSearch()", 200);
search_key_timeout = setTimeout("performVRFSelectorSearch()", 500);
}

/*
Expand Down