mirror of
https://github.com/urbit/shrub.git
synced 2024-12-15 04:22:48 +03:00
updated version of script.js
This commit is contained in:
parent
8eac489504
commit
78c4d2063d
@ -1,9 +0,0 @@
|
|||||||
^- manx
|
|
||||||
;html
|
|
||||||
;head
|
|
||||||
;script(type "application/javascript", src "/~modulo/session.js");
|
|
||||||
==
|
|
||||||
;body
|
|
||||||
;script(type "application/javascript", src "/~modulo/script.js");
|
|
||||||
==
|
|
||||||
==
|
|
@ -34,6 +34,9 @@ window.addEventListener("message", (event) => {
|
|||||||
input.style = "";
|
input.style = "";
|
||||||
input.addEventListener("keyup", (e) => {
|
input.addEventListener("keyup", (e) => {
|
||||||
if (e.keyCode !== 13) { return; }
|
if (e.keyCode !== 13) { return; }
|
||||||
|
popup.style = "display:hidden;";
|
||||||
|
popup.style = "visibility:hidden !important;";
|
||||||
|
|
||||||
window.urb.poke(window.ship, "modulo", "modulo-command",
|
window.urb.poke(window.ship, "modulo", "modulo-command",
|
||||||
{
|
{
|
||||||
go: input.value
|
go: input.value
|
||||||
|
Loading…
Reference in New Issue
Block a user