mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
[Pale-Moon] No issue - Ensure window.location exists before checking against the browser URL
This commit is contained in:
parent
4a9e6100ec
commit
a39686b91b
1 changed files with 1 additions and 1 deletions
|
|
@ -428,7 +428,7 @@ var PlacesCommandHook = {
|
|||
*/
|
||||
updateBookmarkAllTabsCommand: function() {
|
||||
// There's nothing to do in non-browser windows.
|
||||
if (window.location.href != getBrowserURL()) {
|
||||
if (!window.location || window.location.href != getBrowserURL()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue