summaryrefslogtreecommitdiffstats
path: root/browser/base/content/browser-places.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-23 09:39:10 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-23 09:39:10 +0100
commit7eb2c156ba826a0ebf05db56a9fccf46094478ea (patch)
treeb77afec95924208b0c4cc4c2865378b676d69169 /browser/base/content/browser-places.js
parentf3f9b7b06e37f870463a5f2196457cca6b10d700 (diff)
downloadUXP-7eb2c156ba826a0ebf05db56a9fccf46094478ea.tar
UXP-7eb2c156ba826a0ebf05db56a9fccf46094478ea.tar.gz
UXP-7eb2c156ba826a0ebf05db56a9fccf46094478ea.tar.lz
UXP-7eb2c156ba826a0ebf05db56a9fccf46094478ea.tar.xz
UXP-7eb2c156ba826a0ebf05db56a9fccf46094478ea.zip
Fix typo in f3f9b7b06e37f870463a5f2196457cca6b10d700 (caps)
Diffstat (limited to 'browser/base/content/browser-places.js')
-rw-r--r--browser/base/content/browser-places.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/browser/base/content/browser-places.js b/browser/base/content/browser-places.js
index de880d11d..a447880be 100644
--- a/browser/base/content/browser-places.js
+++ b/browser/base/content/browser-places.js
@@ -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.