mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 08:27:31 +09:00
Prevent issues and possible leaks with the bookmarks menu bar as a result of XBL re-binding.
This commit is contained in:
parent
fe50e2bafc
commit
b4950642a2
1 changed files with 4 additions and 0 deletions
|
|
@ -1555,6 +1555,10 @@ var BookmarkingUI = {
|
|||
// so kill current view and let popupshowing generate a new one.
|
||||
if (this.button._placesView)
|
||||
this.button._placesView.uninit();
|
||||
// ...and do the same for the menu bar.
|
||||
let menubar = document.getElementById("bookmarksMenu");
|
||||
if (menubar._placesview)
|
||||
menubar._placesview.uninit();
|
||||
|
||||
// We have to do the same thing for the "special" views underneath the
|
||||
// the bookmarks menu.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue