Permalink
Browse files

Fix incorrect type returned for ResearchGate (#1534)

  • Loading branch information...
GuyAglionby authored and zuphilip committed Jan 28, 2018
1 parent d936099 commit ee7cfa6a620cccda4cc27568ad93568cbd8ef200
Showing with 2 additions and 1 deletion.
  1. +2 −1 ResearchGate.js
View
@@ -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

Please sign in to comment.