From 0769a84a0031db82de968a7fbf3db6ea590f1db9 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 4 Oct 2016 03:12:20 -0400 Subject: [PATCH] Fix low-res icons after switching out of Fx connector mode --- chrome/content/zotero/zoteroPane.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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