From: Andrew Lorimer Date: Wed, 15 Sep 2021 06:44:21 +0000 (+1000) Subject: change edit button to move icon X-Git-Url: https://git.lorimer.id.au/newtab.git/diff_plain/refs/heads/master change edit button to move icon --- diff --git a/README.md b/README.md index b096d3b..b65079b 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Unfortunately installation is a little protracted because Google wants all exten You can still install it as a local extension in developer mode: -1. Go to and turn on developer mode (top right) +1. Go to `chrome://extensions` and turn on developer mode (top right) 2. Download build/newtab.crx ("Save link as...", don't install it straight away - see below) 3. Drag the file onto the extensions page to install it diff --git a/build/newtab.crx b/build/newtab.crx index 23c8ef6..4d97651 100644 Binary files a/build/newtab.crx and b/build/newtab.crx differ diff --git a/src/main.js b/src/main.js index 3af538f..b63bcc8 100644 --- a/src/main.js +++ b/src/main.js @@ -1,3 +1,4 @@ +var move = "✥" var tick = "✔"; var addText = "+"; var rmText = "−"; @@ -227,7 +228,7 @@ function closeEdit(editBtn) { editMode = false; editBtn.style.background = ""; - editBtn.innerText = "e"; + editBtn.innerText = move; var addBtn = document.getElementById("addcol"); addBtn.style.display = "none";