Fix UI issues with Cyrillic mime types, hopefully
This commit is contained in:
parent
828bcd9a11
commit
6e43942385
|
@ -395,12 +395,8 @@ Zotero.MIME = new function(){
|
||||||
.getService(Components.interfaces.nsIAppShellService)
|
.getService(Components.interfaces.nsIAppShellService)
|
||||||
.hiddenDOMWindow.navigator.mimeTypes;
|
.hiddenDOMWindow.navigator.mimeTypes;
|
||||||
|
|
||||||
for (var i in types){
|
for (let type of types) {
|
||||||
// DEBUG
|
if (type.type && type.type == mimeType) {
|
||||||
Zotero.debug('=======');
|
|
||||||
Zotero.debug(i);
|
|
||||||
Zotero.debug(types[i].type);
|
|
||||||
if (types[i].type && types[i].type == mimeType){
|
|
||||||
Zotero.debug('MIME type ' + mimeType + ' can be handled by plugins');
|
Zotero.debug('MIME type ' + mimeType + ' can be handled by plugins');
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user