mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 07:17:30 +09:00
[Pale-Moon] Issue #1737 - Part 8: Phase 1 proofread + adjust for updated code style
This commit is contained in:
parent
500d51dfc4
commit
054a3fb4a5
21 changed files with 221 additions and 292 deletions
|
|
@ -125,8 +125,7 @@ var browserMenuDragging = {
|
|||
if (!!parentPopup.openNode) {
|
||||
try {
|
||||
parentPopup.openNode.hidePopup();
|
||||
} catch(e) {
|
||||
}
|
||||
} catch(e) {}
|
||||
}
|
||||
parentPopup.openNode = menupopup;
|
||||
|
||||
|
|
@ -318,8 +317,7 @@ var browserMenuDragging = {
|
|||
default:
|
||||
return xpPref.setBoolPref(aPrefString, aValue); break;
|
||||
}
|
||||
} catch(e) {
|
||||
}
|
||||
} catch(e) {}
|
||||
return null;
|
||||
},
|
||||
|
||||
|
|
@ -328,8 +326,7 @@ var browserMenuDragging = {
|
|||
var pbi = Components.classes["@mozilla.org/preferences;1"].
|
||||
getService(Components.interfaces.nsIPrefBranch2);
|
||||
pbi.addObserver(aObserver.domain, aObserver, false);
|
||||
} catch(e) {
|
||||
}
|
||||
} catch(e) {}
|
||||
},
|
||||
|
||||
removePrefListener: function(aObserver) {
|
||||
|
|
@ -337,8 +334,7 @@ var browserMenuDragging = {
|
|||
var pbi = Components.classes["@mozilla.org/preferences;1"].
|
||||
getService(Components.interfaces.nsIPrefBranch2);
|
||||
pbi.removeObserver(aObserver.domain, aObserver);
|
||||
} catch(e) {
|
||||
}
|
||||
} catch(e) {}
|
||||
},
|
||||
|
||||
PrefListener:{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue