Disable one window warning for annotations

This commit is contained in:
Simon Kornblith 2013-03-27 23:47:34 -04:00
parent 6d518c0cec
commit a6fae941ad

View file

@ -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);