Skip to content
Browse files

pubmed.org source change

  • Loading branch information...
1 parent 928aeb0 commit 3f1744dfc1466cc43b0a1f3d04026c33f0766d7d @coronin committed Apr 10, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 README
  2. +1 −1 contentscript.js
  3. +1 −1 manifest.json
  4. BIN v0.4.1.1.zip
View
1 README
@@ -34,6 +34,7 @@ Source of this extension is at https://github.com/coronin/thepaperlink-chrome
Change Log:
+ * v0.4.1.1 - bug fix
* v0.4.1 - solve missing links locally
* v0.4.0.2 - bug fix; no longer require a restart
* v0.4.0 - "cited by" on PubMed
View
2 contentscript.js
@@ -110,7 +110,7 @@ function getPmid(zone, num) {
if (regpmid.test(a)) {
ID = regpmid.exec(a);
if (ID[1]) {
- if (t(zone)[num + 1].className === 'rprtnum') {
+ if (t(zone)[num + 1].className.indexOf('rprtnum') > -1) {
t(zone)[num + 2].setAttribute('id', ID[1]);
} else {
t(zone)[num - 2].setAttribute('id', ID[1]);
View
2 manifest.json
@@ -1,6 +1,6 @@
{
"name": "__MSG_appName__",
- "version": "0.4.1",
+ "version": "0.4.1.1",
"minimum_chrome_version": "16",
"description": "__MSG_appDesc__",
"default_locale": "en",
View
BIN v0.4.1.1.zip
Binary file not shown.

0 comments on commit 3f1744d

Please sign in to comment.
Something went wrong with that request. Please try again.