diff --git a/mobile/chrome/content/browser-ui.js b/mobile/chrome/content/browser-ui.js
index f9fd26c222e6..94addab12cee 100644
--- a/mobile/chrome/content/browser-ui.js
+++ b/mobile/chrome/content/browser-ui.js
@@ -1102,8 +1102,13 @@ var BrowserUI = {
},
isCommandEnabled : function(cmd) {
+ // disable all commands during the first-run sidebar discovery
+ let broadcaster = document.getElementById("bcast_uidiscovery");
+ if (broadcaster && broadcaster.getAttribute("mode") == "discovery")
+ return false;
+
let elem = document.getElementById(cmd);
- if (elem && (elem.getAttribute("disabled") == "true"))
+ if (elem && elem.getAttribute("disabled") == "true")
return false;
return true;
},
diff --git a/mobile/chrome/content/browser.xul b/mobile/chrome/content/browser.xul
index d75a1e81c119..e463e29486a2 100644
--- a/mobile/chrome/content/browser.xul
+++ b/mobile/chrome/content/browser.xul
@@ -85,6 +85,7 @@
+
@@ -196,7 +197,7 @@
-
+
-
+