Skip to content

Commit 082aa52

Browse files
k2sdylans
authored andcommitted
fixes #11848, regression fix for dojox/mobile/Switch
1 parent 7299f4e commit 082aa52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mobile/Switch.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,9 @@ define([
123123
},
124124

125125
startup: function(){
126+
var started = this._started;
126127
this.inherited(arguments);
127-
if(!this._started){
128+
if(!started){
128129
this.resize();
129130
}
130131
},

0 commit comments

Comments
 (0)