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
parent 609c5bfc24
commit ccbd88be74
6 changed files with 11 additions and 11 deletions

View file

@ -10,7 +10,7 @@ define(['app', 'Series/SeriesModel', 'Series/Delete/DeleteSeriesView', 'Quality/
progressbar : '.progress .bar',
qualityProfile : '.x-quality-profile',
backlogSettings: '.x-backlog-setting',
switch : '.switch'
bsSwitch : '.switch'
},
events: {
@ -19,7 +19,7 @@ define(['app', 'Series/SeriesModel', 'Series/Delete/DeleteSeriesView', 'Quality/
},
onRender: function () {
this.ui.switch.bootstrapSwitch();
this.ui.bsSwitch.bootstrapSwitch();
},