Skip to content

Commit

Permalink
Allow EM to save a webpage even when no embedded tags are detected
Browse files Browse the repository at this point in the history
Addresses zotero#1092
  • Loading branch information
adomasven committed Oct 9, 2017
1 parent 08a0389 commit 72f5ceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Embedded Metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2017-08-26 11:30:00"
"lastUpdated": "2017-10-03 01:32:00"
}

/*
Expand Down Expand Up @@ -360,7 +360,7 @@ function doWeb(doc, url) {
function importRDF(doc, url) {
RDF.doImport();
if(!_haveItem) {
completeItem(doc, new Zotero.Item(_itemType));
completeItem(doc, new Zotero.Item(_itemType || 'webpage'));
}
}

Expand Down

0 comments on commit 72f5ceb

Please sign in to comment.