Using bsSwitch instead of switch to remove jslint errors

This commit is contained in:
Mark McDowall 2013-04-18 17:53:02 -07:00 committed by markus101
commit ccbd88be74
6 changed files with 11 additions and 11 deletions

View file

@ -68,7 +68,7 @@
</div>
<div class="control-group">
<label class="control-label">Use Scene Folders</label>
<label class="control-label">Use Season Folders</label>
<div class="controls">
<div class="switch">

View file

@ -10,7 +10,7 @@ define([
className: 'form-horizontal',
ui: {
switch : '.switch',
bsSwitch : '.switch',
tooltip: '[class^="help-inline"] i'
},
@ -19,7 +19,7 @@ define([
},
onRender: function () {
this.ui.switch.bootstrapSwitch();
this.ui.bsSwitch.bootstrapSwitch();
this.ui.tooltip.tooltip({ placement: 'right' });
}
});