From ad181f973cf121e7786bc9f1a78531251a89dc25 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 25 Nov 2007 16:45:39 +0000 Subject: [PATCH] Fix JS strict warning in cslpreview.xul --- chrome/content/zotero/tools/cslpreview.xul | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chrome/content/zotero/tools/cslpreview.xul b/chrome/content/zotero/tools/cslpreview.xul index e62f2cd08..5c9c1b501 100644 --- a/chrome/content/zotero/tools/cslpreview.xul +++ b/chrome/content/zotero/tools/cslpreview.xul @@ -91,7 +91,7 @@ var items = mainWindow.ZoteroPane.getSelectedItems(); if (items.length == 0) { iframe.contentDocument.documentElement.innerHTML = '

No references selected in Zotero.

'; - return; + return ''; } if (str.indexOf("