Skip to content

Commit

Permalink
minor code style change
Browse files Browse the repository at this point in the history
  • Loading branch information
sarutak committed May 14, 2015
1 parent 878e3b8 commit e4a3354
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,15 +218,15 @@ function setupExecutorEventAction() {
}

function setupZoomable(id, timeline) {
$(id + '> input[type="checkbox"]').click(function() {
$(id + ' > input[type="checkbox"]').click(function() {
if (this.checked) {
timeline.setOptions({zoomable: true});
} else {
timeline.setOptions({zoomable: false});
}
});

$(id + "> span").click(function() {
$(id + " > span").click(function() {
$(this).parent().find('input:checkbox').trigger('click');
});
}

0 comments on commit e4a3354

Please sign in to comment.