From bf120717e63b4d8c6e25d41b4e70b5465bd79a64 Mon Sep 17 00:00:00 2001 From: Mark MacGillivray Date: Sun, 23 Oct 2016 12:05:48 +0100 Subject: [PATCH] changing button wording --- js/main.js | 2 +- manifest.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/main.js b/js/main.js index 8bd194f..a0d3e7a 100644 --- a/js/main.js +++ b/js/main.js @@ -21,7 +21,7 @@ function handleAvailabilityResponse(response) { document.getElementById('icon'+response.data.availability[i].type).setAttribute('title',title); document.getElementById('icon'+response.data.availability[i].type).setAttribute('href',response.data.availability[i].url); var nd = document.getElementById('icon'+response.data.availability[i].type).innerHTML; - nd = nd.replace('Open','Get'); + nd = nd.replace('Request','Open'); document.getElementById('icon'+response.data.availability[i].type).innerHTML = nd; } } else if (response.data.requests.length > 0) { diff --git a/manifest.json b/manifest.json index 036ecf6..e9d6ab1 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "Open Access Button", - "version": "0.1.2", - "version_name": "oab_unified_0.1.2", + "version": "0.1.3", + "version_name": "oab_unified_0.1.3", "manifest_version": 2, "description": "Push Button. Get Research. Make Progress.", "icons": {