Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit 62b9ccc

Browse files
committed
Disable spacebar toggle when disabled
Fixes googlearchive/paper-checkbox#17
1 parent b77afe7 commit 62b9ccc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

paper-radio-button.html

+3
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@
133133
},
134134

135135
tap: function() {
136+
if (this.disabled) {
137+
return;
138+
}
136139
var old = this.checked;
137140
this.toggle();
138141
if (this.checked !== old) {

0 commit comments

Comments
 (0)