Skip to content

Commit

Permalink
resolves linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher McCulloh committed Sep 25, 2015
1 parent 58893b6 commit 941c494
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1807,10 +1807,10 @@ <h2 class="header">Year</h2>
</div>

<div class="repeat-panel repeat-every-panel repeat-minutely hidden" aria-hidden="true">
<label id="MySchedulerEveryLabel" class="inline-form-text repeat-every-pretext">every</label>
<label id="MySchedulerMinutelyLabel" class="inline-form-text repeat-every-pretext">every</label>

<div class="spinbox digits-3 repeat-every" data-step="5">
<input type="text" class="form-control input-mini spinbox-input" aria-labelledby="MySchedulerEveryLabel">
<input type="text" class="form-control input-mini spinbox-input" aria-labelledby="MySchedulerMinutelyLabel">
<div class="spinbox-buttons btn-group btn-group-vertical">
<button type="button" class="btn btn-default spinbox-up btn-xs">
<span class="glyphicon glyphicon-chevron-up"></span><span class="sr-only">Increase</span>
Expand Down
2 changes: 1 addition & 1 deletion js/spinbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
this.options.step = this.$element.data('step') || this.options.step;

if (this.options.value < this.options.min) {
this.options.value = this.options.min
this.options.value = this.options.min;
} else if (this.options.max < this.options.value) {
this.options.value = this.options.max;
}
Expand Down
2 changes: 1 addition & 1 deletion test/spinbox-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ define(function(require){

equal($spinbox.spinbox('value'), 1, 'spinbox inits to min when default value is less than min');

var $spinbox = $(html).find('#MySpinbox').spinbox({
$spinbox = $(html).find('#MySpinbox').spinbox({
max: 1,
value: 2
});
Expand Down

0 comments on commit 941c494

Please sign in to comment.