Fix low-res icons after switching out of Fx connector mode
This commit is contained in:
parent
3fac25a463
commit
0769a84a00
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user