Skip to content

Commit 53de5e7

Browse files
committed
Updated message for empty beer data, moved gitignore file to right dir.
1 parent 19a70a0 commit 53de5e7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

js/beer-chart.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,9 @@ function drawBeerChart(beerToDraw, div){
236236
files = $.parseJSON(answer);
237237
}
238238
catch (e){
239-
$("#"+div).html("<span class='chart-error'>Could not receive files for beer, did you just start it?</span>");
239+
$("#"+div).html("<span class='chart-error'>Could not receive files for beer." +
240+
"If you just started this brew, refresh the page after a few minutes. " +
241+
"A chart will appear after the first data point is logged.</span>");
240242
return;
241243
}
242244

File renamed without changes.

0 commit comments

Comments
 (0)