mirror of
https://github.com/urbit/shrub.git
synced 2024-11-30 22:15:47 +03:00
fix sky-settings not saving
This commit is contained in:
parent
b0a55cd402
commit
d3947a3b7f
@ -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();
|
||||||
|
@ -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"
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user