startpage

Simple text centric startpage
Log | Files | Refs | README

commit 9612a93a22d12e50cbba7fe71e32afa030edc246
parent e811c005ede94e84963ef1a72361dc12ed599471
Author: EmDev21 <103883116+EmDev21@users.noreply.github.com>
Date:   Sun, 17 Apr 2022 23:24:31 +0200

Update redme's code
Diffstat:
MREADME.md | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -19,7 +19,7 @@ You will see some pre-made commands that you will be able to edit and you can cr ```js function google(cmd) { - if (!(cmd == undefined)) { + if (cmd != "google") { str = ""; var parameters = cmd.split(" ").slice(1); for (var i = 0; i < parameters.length; i++) { @@ -32,7 +32,7 @@ function google(cmd) { } function reddit(cmd) { - if (!(cmd == undefined)) { + if (cmd != "reddit") { window.open("https://www.reddit.com/r/" + cmd.split(" ").slice(1)[0]); } else { window.open("https://www.reddit.com/");