uncheck radio if clicked twice
This commit is contained in:
parent
959deb5e14
commit
2e5125c298
@ -310,9 +310,15 @@ function onmouseleave(event) {
|
||||
}
|
||||
|
||||
function insert(radio) {
|
||||
if (radio.value && valueToInsert == radio.value) {
|
||||
radio.blur()
|
||||
insertRadio0.checked = true
|
||||
insert(0)
|
||||
} else {
|
||||
valueToInsert = radio.value
|
||||
grid.style.cursor = valueToInsert ? "copy" : "text"
|
||||
highlight()
|
||||
}
|
||||
}
|
||||
|
||||
function undo() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user