Fix typo in f3f9b7b06e37f870463a5f2196457cca6b10d700 (caps)

This commit is contained in:
wolfbeast 2018-02-23 09:39:10 +01:00 committed by Roy Tam
commit dc18b8b1cd

View file

@ -1557,8 +1557,8 @@ var BookmarkingUI = {
this.button._placesView.uninit();
// ...and do the same for the menu bar.
let menubar = document.getElementById("bookmarksMenu");
if (menubar._placesview)
menubar._placesview.uninit();
if (menubar && menubar._placesView)
menubar._placesView.uninit();
// We have to do the same thing for the "special" views underneath the
// the bookmarks menu.