From cdf0f2e2dc7dba28c8e82ddb6842a4efc63547b2 Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Sat, 28 Dec 2024 09:34:41 -0500 Subject: Fix windows/*/create spelling --- extension/background.js | 2 +- web/tabfs.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extension/background.js b/extension/background.js index 64d8dd2..c6cf5b8 100644 --- a/extension/background.js +++ b/extension/background.js @@ -473,7 +473,7 @@ Read that file to evaluate and return the current value of that JS expression.`, }) }; })(); -Routes["/windows/#WINDOW_ID/crate"] = { +Routes["/windows/#WINDOW_ID/create"] = { async write({windowId, buf}) { const url = buf.trim(); await browser.tabs.create({ windowId: windowId, url: url }); diff --git a/web/tabfs.md b/web/tabfs.md index ed9f31a..7045c8f 100644 --- a/web/tabfs.md +++ b/web/tabfs.md @@ -144,7 +144,7 @@ $ echo about:blank > mnt/tabs/create or in a specific window: ``` -$ about:blank > windows//crate +$ echo about:blank > windows//create ``` #### btw -- cgit v1.2.3