mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
[Basilisk] Front-end fixes
Partial backport of MoonchildProductions/Pale-Moon commit 84c814f55c
This commit is contained in:
parent
803bde2387
commit
748cac6e80
1 changed files with 2 additions and 1 deletions
|
|
@ -642,8 +642,9 @@ var PlacesCommandHook = {
|
|||
updateBookmarkAllTabsCommand:
|
||||
function PCH_updateBookmarkAllTabsCommand() {
|
||||
// There's nothing to do in non-browser windows.
|
||||
if (window.location.href != getBrowserURL())
|
||||
if (!window.location || window.location.href != getBrowserURL()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Disable "Bookmark All Tabs" if there are less than two
|
||||
// "unique current pages".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue