mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 07:17:30 +09:00
[Pale-Moon] Remove excess whitespace.
This commit is contained in:
parent
fcab070621
commit
b6b33a6b2a
73 changed files with 1883 additions and 1883 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* closes.
|
||||
*/
|
||||
var SelectBookmarkDialog = {
|
||||
init: function () {
|
||||
init: function() {
|
||||
document.getElementById("bookmarks").place =
|
||||
"place:queryType=1&folder=" + PlacesUIUtils.allBookmarksFolderId;
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ var SelectBookmarkDialog = {
|
|||
* Update the disabled state of the OK button as the user changes the
|
||||
* selection within the view.
|
||||
*/
|
||||
selectionChanged: function () {
|
||||
selectionChanged: function() {
|
||||
var accept = document.documentElement.getButton("accept");
|
||||
var bookmarks = document.getElementById("bookmarks");
|
||||
var disableAcceptButton = true;
|
||||
|
|
@ -38,7 +38,7 @@ var SelectBookmarkDialog = {
|
|||
accept.disabled = disableAcceptButton;
|
||||
},
|
||||
|
||||
onItemDblClick: function () {
|
||||
onItemDblClick: function() {
|
||||
var bookmarks = document.getElementById("bookmarks");
|
||||
var selectedNode = bookmarks.selectedNode;
|
||||
if (selectedNode && PlacesUtils.nodeIsURI(selectedNode)) {
|
||||
|
|
@ -54,7 +54,7 @@ var SelectBookmarkDialog = {
|
|||
* User accepts their selection. Set all the selected URLs or the contents
|
||||
* of the selected folder as the list of homepages.
|
||||
*/
|
||||
accept: function () {
|
||||
accept: function() {
|
||||
var bookmarks = document.getElementById("bookmarks");
|
||||
NS_ASSERT(bookmarks.hasSelection,
|
||||
"Should not be able to accept dialog if there is no selected URL!");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue