diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index bcd239ceb..02b9b13d5 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -82,10 +82,6 @@ var ZoteroPane = new function() window.document.documentElement.setAttribute('sizemode', 'normal'); } - // Set flags for hi-res displays - Zotero.hiDPI = window.devicePixelRatio > 1; - Zotero.hiDPISuffix = Zotero.hiDPI ? "@2x" : ""; - // Set "Report Errors..." label via property rather than DTD entity, // since we need to reference it in script elsewhere document.getElementById('zotero-tb-actions-reportErrors').setAttribute('label', @@ -146,6 +142,10 @@ var ZoteroPane = new function() function _loadPane() { if(!Zotero || !Zotero.initialized || Zotero.isConnector) return; + // Set flags for hi-res displays + Zotero.hiDPI = window.devicePixelRatio > 1; + Zotero.hiDPISuffix = Zotero.hiDPI ? "@2x" : ""; + ZoteroPane_Local.setItemsPaneMessage(Zotero.getString('pane.items.loading')); //Initialize collections view