Skip to content

Commit

Permalink
CNKI: Fix consistent-return lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Dec 7, 2019
1 parent 9655d46 commit f05edd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CNKI.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function doWeb(doc, url) {
var itemInfo = {};
var items = getItemsFromSearchResults(doc, url, itemInfo);
Z.selectItems(items, function (selectedItems) {
if (!selectedItems) return true;
if (!selectedItems) return;

var itemInfoByTitle = {};
var ids = [];
Expand Down

0 comments on commit f05edd5

Please sign in to comment.