From 902e561a09f94842cffc24c23edbc441aa7bd84f Mon Sep 17 00:00:00 2001
From: trinkey <97406176+trinkey@users.noreply.github.com>
Date: Fri, 1 Mar 2024 07:21:11 -0500
Subject: [PATCH] remove target="_blank" on link to home page

---
 public/js/editor.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/js/editor.js b/public/js/editor.js
index 5a40456..cb607b8 100644
--- a/public/js/editor.js
+++ b/public/js/editor.js
@@ -89,7 +89,7 @@ fetch("/api/account/self", {
       <div>Background color: <input id="input-col-background" type="color" value="${colors.background}"></div>
       <div>Accent color: <input id="input-col-accent" type="color" value="${colors.accent}"></div>
       <div>Public: <input id="public" type="checkbox" ${json.public ? "checked" : ""}></div><br>
-      <a target="_blank" href="/home"><button>Home</button></a>
+      <a href="/home"><button>Home</button></a>
       <a target="_blank" href="/u/${json.username}"><button>Preview</button></a>
       <button onclick="navigator.clipboard.writeText('https://infopg.web.app/u/trinkey'); log('Copied!');">Share</button>
       <button id="save">Save</button><div id="log"> </div>