Skip to content

Commit 6d29128

Browse files
committed
hotfix: delay setTimeout
1 parent d9503fe commit 6d29128

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

js/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,10 @@ function commander(cmd) {
285285
addLine("<span class=\"inherit\">really nvim? Wanna try <span class=\"command\">'vim'</span> instead?</span>", "color2", 80);
286286
break;
287287
case "sudo":
288-
addLine(`<span class=\"inherit\">Permission denied: unable to run '${args}' as root.</span>`, "color2", 80);
288+
addLine(`<span class=\"inherit\">Permission denied: unable to run <span class=\"command\">'sudo'</span> as root.</span>`, "color2", 80);
289289
setTimeout(function() {
290-
window.open('https://www.youtube.com/@zum.hier.trinken/shorts');
291-
}, 1);
290+
window.open('https://www.youtube.com/shorts/dp8uRUkf92c');
291+
}, 1000);
292292
break;
293293
case "":
294294
addLine("", "color2", 0);

0 commit comments

Comments
 (0)