Skip to content

Commit

Permalink
changing button wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark MacGillivray committed Oct 23, 2016
1 parent ce186d4 commit 08f8d48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ function handleAvailabilityResponse(response) {
document.getElementById('icon'+response.data.availability[i].type).setAttribute('alt',title);
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');
document.getElementById('icon'+response.data.availability[i].type).innerHTML = nd;
}
} else if (response.data.requests.length > 0) {
for (var requests_entry of response.data.requests) {
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Open Access Button",
"version": "0.1.1",
"version_name": "oab_unified_0.1.1",
"version": "0.1.2",
"version_name": "oab_unified_0.1.2",
"manifest_version": 2,
"description": "Push Button. Get Research. Make Progress.",
"icons": {
Expand Down

0 comments on commit 08f8d48

Please sign in to comment.