commit ba1a383aa1761ad8744a5c9389700149353b39c9 parent dac5bbb3f3131f91c9e6e51f5cca11f2bcf6218e Author: Simon Kornblith <simon@simonster.com> Date: Mon, 14 Aug 2006 22:05:58 +0000 don't throw an error trying to make a bibliography with an item with no date (thanks Dan) Diffstat:
| M | chrome/chromeFiles/content/scholar/xpcom/cite.js | | | 6 | ++---- |
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/chrome/chromeFiles/content/scholar/xpcom/cite.js b/chrome/chromeFiles/content/scholar/xpcom/cite.js @@ -896,10 +896,8 @@ CSL.prototype._preprocessItems = function(items) { } } - // parse - if(item.date) { // specific date - item._csl.date = CSL.prototype._processDate(item.date); - } + // parse date + item._csl.date = CSL.prototype._processDate(item.date); } }