From b35005586bce15d427ac57630ede62c01a02547d Mon Sep 17 00:00:00 2001
From: grembem <aidanleyden@gmail.com>
Date: Thu, 13 Apr 2023 13:57:10 -0400
Subject: [PATCH] Update site.js

---
 CI-ColorWebs/wwwroot/js/site.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CI-ColorWebs/wwwroot/js/site.js b/CI-ColorWebs/wwwroot/js/site.js
index 761ed29..1650af1 100644
--- a/CI-ColorWebs/wwwroot/js/site.js
+++ b/CI-ColorWebs/wwwroot/js/site.js
@@ -35,7 +35,7 @@ const cre = () => {
     context.fillRect(580, 0, 116, 150);
     document.getElementById("color6").style.color = "#" + ranColor[5];
     ailink = "?prompt=flower%20color(" + ranColor[0]+",%20" + ranColor[1]+ ",%20"+ ranColor[2]+ ",%20"+ ranColor[3]+ ",%20"+ ranColor[4]+ ",%20"+ ranColor[5]+ ")%20painting";
-    var link = "<a href='https://www.craiyon.com/" + ailink + "'>here</a>";
+    var link = "<a href='https://www.craiyon.com/" + ailink + "' target='_blank'>here</a>";
     document.getElementById("linkai").innerHTML=link;
 }
 
-- 
GitLab