Fix lint errors

This commit is contained in:
Rowan Manning
2013-11-20 13:46:41 +00:00
parent a853d329c0
commit c13af05422
2 changed files with 15 additions and 7 deletions

View File

@@ -167,12 +167,20 @@ $(document).ready(function(){
$.each(datasets, function(key, val) {
var lowerCaseValue = (val.label.substring(0, val.label.length - 1)).toLowerCase();
choiceContainer.append('<li class="text-center '+
lowerCaseValue +'"><div class="series-checkbox-container"><input type="checkbox" name="' + key +
'" checked="checked" id="id' + key +
'"/><label for="id' + key +
'"><span class="stat-type">' + val.label +
'</span></label></div></li>');
choiceContainer.append(
'<li class="text-center ' + lowerCaseValue + '">' +
'<div class="series-checkbox-container">' +
'<input type="checkbox"' +
'name="' + key + '" ' +
'checked="checked" ' +
'id="id' + key + '"' +
'/>' +
'<label for="id' + key + '">' +
'<span class="stat-type">' + val.label + '</span>' +
'</label>' +
'</div>' +
'</li>'
);
});
choiceContainer.find('input').click(plotAccordingToChoices);

File diff suppressed because one or more lines are too long