diff --git a/client/application.js b/client/application.js index 729e61f..cb8680a 100644 --- a/client/application.js +++ b/client/application.js @@ -48,7 +48,10 @@ outputResults(results.items, params.maxResults); - $('#query').text(params.keywords.join(', ')); + if (params.keywords) { + $('#query').text(params.keywords.join(', ')); + } + $('#useLocalScale').click(function() { var useLocalScale = $('#useLocalScale').is(':checked'); ctx.grapher.setUseLocalScale(useLocalScale); diff --git a/client/index.html b/client/index.html index 97a7cbc..2dbabf0 100644 --- a/client/index.html +++ b/client/index.html @@ -27,7 +27,7 @@