mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix clicking inside required radio for poll questions
This commit is contained in:
parent
39694c2348
commit
92f29b5e46
@ -2718,6 +2718,14 @@ define([
|
||||
]);
|
||||
var $tag = $(tag);
|
||||
|
||||
if (APP.isEditor) {
|
||||
$tag[0].addEventListener('click', function (e) {
|
||||
const target = e.target;
|
||||
if (target.closest('.cp-form-required-radio')) {
|
||||
e.stopPropagation();
|
||||
}
|
||||
});
|
||||
}
|
||||
var cursorGetter;
|
||||
var setCursorGetter = function (f) { cursorGetter = f; };
|
||||
return {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user