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'));
if (textarea || textinput) {
if (e.key === 'Escape') {
closeEye();
document.activeElement.blur();
}
return;
}
if (e.key === ' ') {
if (e.key === 'Escape') {
closeEye();
document.activeElement.blur();
}
else if (e.key === ' ') {
e.preventDefault();
if (window.eye.open) {
closeEye();

View File

@ -39,7 +39,7 @@
==
++ home-button
;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-target "closest .hawk"
=hx-select ".hawk"

View File

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