From 2f4106b7997e881bd4d2d8ee1ea5969f9892b211 Mon Sep 17 00:00:00 2001 From: Peter Date: Tue, 19 Mar 2024 03:34:27 -0600 Subject: [PATCH] jr: make "switch to this key" more obviously clickable --- jrx/src/popup.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jrx/src/popup.ts b/jrx/src/popup.ts index 9c5f252..eead36d 100644 --- a/jrx/src/popup.ts +++ b/jrx/src/popup.ts @@ -127,6 +127,8 @@ pi_repop addr_a.style.fontSize = 'xx-small'; addr_a.innerHTML = this_rkp.akstr; + // add + // add everything inside-out addr_li.appendChild(addr_a); rkp_ul.appendChild(addr_li); @@ -143,8 +145,7 @@ pi_repop let activate_li = document.createElement('li'); let activate_a = document.createElement('a'); activate_a.innerHTML = 'Switch to this key'; - activate_a.style.color = 'blue'; - activate_a.style.textDecoration = 'underline'; + activate_a.href = '#'; // dirty but so is your mind so go fuck yourself activate_a.onclick = async function () {