Browse Source

Fix exit conditions for search object

pull/2477/head
Jack Lukic 9 years ago
parent
commit
3ed7ff7ba5
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/modules/search.js

2
src/definitions/modules/search.js

@ -502,7 +502,7 @@ $.fn.search = function(parameters) {
}
// exit conditions if no source
if(source === undefined) {
if(source === undefined || source === false) {
module.error(error.source);
return [];
}

Loading…
Cancel
Save