From 086152af80e1ca198515055268a3982c70d6083b Mon Sep 17 00:00:00 2001 From: tzwel <39600182+tzwel@users.noreply.github.com> Date: Mon, 31 Jan 2022 23:58:27 +0100 Subject: [PATCH] highlight appropriate links, change v number --- package.json | 2 +- src/js/detailedimageview.js | 2 ++ src/renderer.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index eb7c98c..f1fceba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "absence", - "version": "1.4.0", + "version": "1.5.0", "description": "An open-source client for browsing Gelbooru", "main": "main.js", "repository": "https://github.com/tzwel/Absence", diff --git a/src/js/detailedimageview.js b/src/js/detailedimageview.js index f810304..f8604a8 100644 --- a/src/js/detailedimageview.js +++ b/src/js/detailedimageview.js @@ -94,9 +94,11 @@ async function loadDetails() { for (const tag of fetchedJsonTags.tag) { if (tag.type === 1) { drawer.querySelector("a[artist]").innerHTML = tag.name; + drawer.querySelector("a[artist]").href = "#"; } if (tag.type === 4) { drawer.querySelector("a[character]").innerHTML = tag.name; + drawer.querySelector("a[character]").href = "#"; } } } diff --git a/src/renderer.js b/src/renderer.js index 58dc646..2dfcb77 100644 --- a/src/renderer.js +++ b/src/renderer.js @@ -2,7 +2,7 @@ const { remote } = require("electron"); const { shell } = require("electron"); const { dialog, app } = require("electron").remote; const { clipboard } = require("electron"); -const version = "1.4"; +const version = "1.5"; // Customizable variables