1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 01:24:13 +01:00

Formatting fixes.

This commit is contained in:
Doug Kearns
2009-06-14 01:23:01 +10:00
parent 5ebcdb71bc
commit c3ef4d18da
5 changed files with 14 additions and 18 deletions

View File

@@ -647,7 +647,8 @@ function Bookmarks() //{{{
try
{
charset = PlacesUtils.history.getCharsetForURI(makeURI(shortcutURL));
} catch (e) { }
}
catch (e) {}
}
var encodedParam = "";
if (charset)

View File

@@ -610,7 +610,8 @@ function Buffer() //{{{
.QueryInterface(Ci.nsIInterfaceRequestor)
.getInterface(Ci.nsIDOMWindowUtils)
.getDocumentMetadata("content-disposition");
} catch (e) {}
}
catch (e) {}
window.internalSave(doc.location.href, doc, null, contentDisposition,
doc.contentType, false, null, chosenData, doc.referrer ?

View File

@@ -269,7 +269,7 @@ function Hints() //{{{
return [leftpos + curleft, toppos + curtop];
}
}
catch (e) {} //badly formed document, or shape == "default" in which case we don't move the hint
catch (e) {} // badly formed document, or shape == "default" in which case we don't move the hint
return [leftpos, toppos];
}