Permalink
Browse files

Fixes bug where an empty search after a query prevents additional and…

… previous lookups.
  • Loading branch information...
bibleforge committed Nov 13, 2010
1 parent b7b60ba commit b31ef20856c7cc2a59cf8f2446c784d01639b9aa
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/main.js
@@ -1089,14 +1089,14 @@ BF.create_viewport = function (viewPort, searchForm, q_obj, page, infoBar, topLo
return false;
}
waiting_for_first_search = true;
last_search_prepared = BF.lang.prepare_search(raw_search_terms);
if (last_search_prepared === "") {
return false;
}
waiting_for_first_search = true;
/// Stop any old requests since we have a new one.
/// Is readyState > 0 and < 4? (Anything 1-3 needs to be aborted.)
if (ajax_additional.readyState % 4) {

0 comments on commit b31ef20

Please sign in to comment.