Skip to content
Permalink
Browse files

Fix beck-online.js if no copyright info is given (#1743)

  • Loading branch information...
zuphilip authored and adam3smith committed Sep 14, 2018
1 parent 6f3b518 commit 0894cbf43e816c3831850c559ec980b636428dac
Showing with 2 additions and 2 deletions.
  1. +2 −2 beck-online.js
@@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcs",
"lastUpdated": "2018-09-08 12:20:47"
"lastUpdated": "2018-09-11 07:17:21"
}

/*
@@ -270,7 +270,7 @@ function scrapeBook(doc, url) {
}
item.ISBN = text(doc, '#titelseitetext .__beck_titelei_impressum_isbn');
item.rights = text(doc, '#titelseitetext .__beck_titelei_impressum_p');
if (item.rights.includes("Beck")) {
if (item.rights && item.rights.includes("Beck")) {
item.publisher = "Verlag C. H. Beck";
item.place = "München";
}

0 comments on commit 0894cbf

Please sign in to comment.
You can’t perform that action at this time.