don't reset checked button

This commit is contained in:
Marco Martin 2012-04-17 11:21:01 +02:00
parent a7effaa7c4
commit 021d196ab8

View File

@ -100,7 +100,7 @@ function build() {
if (self.checkedButton)
self.checkedButton.checked = true;
else if (self.exclusive) {
else if (self.exclusive && self.checkedButton === undefined) {
self.checkedButton = visibleButtons[0];
self.checkedButton.checked = true;
}