www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 0769a84a0031db82de968a7fbf3db6ea590f1db9
parent 3fac25a46309747c21baa2e4fa911bacdd247aa5
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue,  4 Oct 2016 03:12:20 -0400

Fix low-res icons after switching out of Fx connector mode

Diffstat:
Mchrome/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 @@ -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