From de4f449c452c9e4688aa33be2f522a7580cb6195 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 16 Jul 2007 21:52:28 +0000 Subject: [PATCH] Fix JS strict warning in overlay.js and error when right-clicking the browser content area before anything is selected in Zotero --- chrome/content/zotero/overlay.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 8f4f6e35e..caeb632de 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -942,7 +942,7 @@ var ZoteroPane = new function() function reindexItem() { var items = this.getSelectedItems(); if (!items) { - return false; + return; } for (var i=0; i