]> _ Git - fluidbook-html5.git/commitdiff
fix #4026 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 30 Oct 2020 17:36:44 +0000 (18:36 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 30 Oct 2020 17:36:44 +0000 (18:36 +0100)
js/libs/aria/radio.js

index e6726ca1bf055c30d39cd08345b4376022babd80..e3000c74f7057f5e32e726af288f4781ebf88d5d 100644 (file)
@@ -11,6 +11,9 @@
             var $this = this;
 
             $(this.element).on('click', this.optionSelector, function () {
+                if ($(this).hashClass('disabled')) {
+                    return true;
+                }
                 var r = $(this).find('input[type=radio]');
                 r.prop('checked', true);
                 $this.update();