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

@ -7,7 +7,7 @@ define(['app', 'Quality/QualityProfileModel'], function () {
className: "modal",
ui: {
switch: '.switch'
bsSwitch: '.switch'
},
events: {
@ -15,7 +15,7 @@ define(['app', 'Quality/QualityProfileModel'], function () {
},
onRender: function () {
this.ui.switch.bootstrapSwitch();
this.ui.bsSwitch.bootstrapSwitch();
},
saveQualityProfile: function () {