Skip to content
Snippets Groups Projects
Commit 22ca47dc authored by Kevin Abel's avatar Kevin Abel
Browse files

Add try/catch to the search execute call to simulate search complete

parent 864113b7
No related branches found
No related tags found
1 merge request!4Fix Google API Error
......@@ -182,7 +182,12 @@
if (track !== false) {
trackQuery(q);
}
activeSearch.execute(q);
try {
activeSearch.execute(q);
} catch (e) {
console.log(e);
queryComplete({root: activeSearch.root});
}
directorySearch.execute(q);
$(wrapperMain).fadeIn();
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment