Inform connector about PDF build to enable Add Note button in Google Docs

This commit is contained in:
Adomas Venčkauskas 2021-02-26 13:56:44 +02:00 committed by Dan Stillman
parent 02fc8bf39f
commit 91ac847bab

View file

@ -1701,7 +1701,8 @@ Zotero.Server.Connector.Ping.prototype = {
let response = {
prefs: {
automaticSnapshots: Zotero.Prefs.get('automaticSnapshots')
automaticSnapshots: Zotero.Prefs.get('automaticSnapshots'),
googleDocsAddNoteEnabled: Zotero.isPDFBuild
}
};
if (Zotero.QuickCopy.hasSiteSettings()) {