Don't try to use undefined response
This commit is contained in:
@@ -43,6 +43,8 @@ var SuggestList = new Class({
|
||||
fill: function(json){
|
||||
|
||||
var self = this;
|
||||
|
||||
if(!json) return;
|
||||
|
||||
Object.each(json.suggestions, function(movie){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user