mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
Fix line spacing
This commit is contained in:
parent
0b7f05c9d2
commit
48d15eaedf
@ -377,14 +377,7 @@ nsUnknownContentTypeDialog.prototype = {
|
||||
var typeString = mimeInfo.Description;
|
||||
|
||||
if (typeString == "") {
|
||||
// 2. If there is none, use the extension to identify the file, e.g. "ZIP file"
|
||||
var primaryExtension = "";
|
||||
try {
|
||||
primaryExtension = mimeInfo.primaryExtension;
|
||||
}
|
||||
catch (ex) {
|
||||
}
|
||||
|
||||
// 2. If there is none, use the extension to identify the file, e.g. "ZIP file"
var primaryExtension = "";
try {
primaryExtension = mimeInfo.primaryExtension;
}
catch (ex) {
}
|
||||
if (primaryExtension != "")
|
||||
typeString = primaryExtension.toUpperCase() + " file";
|
||||
// 3. If we can't even do that, just give up and show the MIME type.
|
||||
|
@ -154,8 +154,7 @@
|
||||
#ifndef MOZ_THUNDERBIRD
|
||||
<spring flex="1"/>
|
||||
<button label="&plugins.label;" accesskey="&plugins.accesskey;"
|
||||
id="plugins" oncommand="showPlugins();"/>
|
||||
#endif
|
||||
id="plugins" oncommand="showPlugins();"/>
#endif
|
||||
</hbox>
|
||||
</vbox>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user