From a6fae941adebb6af862696dc8c6ed950c8d92f34 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 27 Mar 2013 23:47:34 -0400 Subject: [PATCH] Disable one window warning for annotations --- chrome/content/zotero/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/browser.js b/chrome/content/zotero/browser.js index 05b065446..baf7d7c5f 100644 --- a/chrome/content/zotero/browser.js +++ b/chrome/content/zotero/browser.js @@ -285,7 +285,7 @@ var Zotero_Browser = new function() { var annotationID = Zotero.Annotate.getAnnotationIDFromURL(browser.currentURI.spec); if(annotationID) { if(Zotero.Annotate.isAnnotated(annotationID)) { - window.alert(Zotero.getString("annotations.oneWindowWarning")); + //window.alert(Zotero.getString("annotations.oneWindowWarning")); } else if(!tab.page.annotations) { // enable annotation tab.page.annotations = new Zotero.Annotations(Zotero_Browser, browser, annotationID);