diff --git a/browser/components/customizableui/src/CustomizableWidgets.jsm b/browser/components/customizableui/src/CustomizableWidgets.jsm index 21d5ed7d6736..7a3e1f20e6fd 100644 --- a/browser/components/customizableui/src/CustomizableWidgets.jsm +++ b/browser/components/customizableui/src/CustomizableWidgets.jsm @@ -770,7 +770,7 @@ const CustomizableWidgets = [{ elem.section = aSection; elem.value = item.value; elem.setAttribute("class", "subviewbutton"); - addShortcut(item, doc, elem); + addShortcut(item, aDocument, elem); containerElem.appendChild(elem); } },