Disable one window warning for annotations
This commit is contained in:
parent
6d518c0cec
commit
a6fae941ad
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue