Skip to content

Commit

Permalink
don't die if config_list url param is not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Apr 9, 2012
1 parent 33bc9dc commit a6ca5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/Browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ Browser.prototype.createNavBox = function(parent, locLength, params) {
});
};

var configList = params.config_list.split(",");
var configList = params.config_list ? params.config_list.split(",") : [];
var namelist, parent, lim;
// jquery when everything is loaded
$(function() {
Expand Down

0 comments on commit a6ca5e6

Please sign in to comment.