Permalink
Browse files
Fix incorrect type returned for ResearchGate (#1534)
- Loading branch information...
Showing
with
2 additions
and
1 deletion.
-
+2
−1
ResearchGate.js
|
@@ -9,7 +9,7 @@ |
|
|
"inRepository": true,
|
|
|
"translatorType": 4,
|
|
|
"browserSupport": "gcsibv",
|
|
|
"lastUpdated": "2017-10-15 14:15:09"
|
|
|
"lastUpdated": "2018-01-28 01:52:07"
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -47,6 +47,7 @@ function detectWeb(doc, url) { |
|
|
//for logged in users (yes, really...)
|
|
|
type = text(doc, 'b[data-reactid]');
|
|
|
}
|
|
|
type = type.replace('(PDF Available)', '').trim();
|
|
|
switch(type) {
|
|
|
case "Data"://until we have a data itemType
|
|
|
case "Article":
|
|
|
0 comments on commit
ee7cfa6