fix sky-settings not saving

This commit is contained in:
Will Hanlen 2024-06-19 13:42:53 -04:00
parent b0a55cd402
commit d3947a3b7f
3 changed files with 7 additions and 4 deletions

View File

@ -261,12 +261,15 @@
let textinput = ['text', 'number', 'email', 'password'].includes(focused.getAttribute('type')); let textinput = ['text', 'number', 'email', 'password'].includes(focused.getAttribute('type'));
if (textarea || textinput) { if (textarea || textinput) {
if (e.key === 'Escape') { if (e.key === 'Escape') {
closeEye();
document.activeElement.blur(); document.activeElement.blur();
} }
return; return;
} }
if (e.key === ' ') { if (e.key === 'Escape') {
closeEye();
document.activeElement.blur();
}
else if (e.key === ' ') {
e.preventDefault(); e.preventDefault();
if (window.eye.open) { if (window.eye.open) {
closeEye(); closeEye();

View File

@ -39,7 +39,7 @@
== ==
++ home-button ++ home-button
;a.p2.br1.bd1.b1.hover.loader.wfc.block ;a.p2.br1.bd1.b1.hover.loader.wfc.block
=href "/neo/hawk/home" =href "/neo/hawk/{(scow %p our.bowl)}/home"
=hx-swap "innerHTML" =hx-swap "innerHTML"
=hx-target "closest .hawk" =hx-target "closest .hawk"
=hx-select ".hawk" =hx-select ".hawk"

View File

@ -10,7 +10,7 @@
++ poke ++ poke
|= [=stud:neo vax=vase] |= [=stud:neo vax=vase]
^- (quip card:neo pail:neo) ^- (quip card:neo pail:neo)
`pail `[stud vax]
++ init ++ init
|= pal=(unit pail:neo) |= pal=(unit pail:neo)
^- (quip card:neo pail:neo) ^- (quip card:neo pail:neo)