diff --git a/mobile/android/chrome/content/aboutAddons.js b/mobile/android/chrome/content/aboutAddons.js index 0a02bc0d59f..fb3d7e5afe2 100644 --- a/mobile/android/chrome/content/aboutAddons.js +++ b/mobile/android/chrome/content/aboutAddons.js @@ -348,15 +348,11 @@ var Addons = { let event = document.createEvent("Events"); event.initEvent("AddonOptionsLoad", true, false); window.dispatchEvent(event); - - // Also send a notification to match the behavior of desktop Firefox - let id = aListItem.getAttribute("addonID"); - Services.obs.notifyObservers(document, AddonManager.OPTIONS_NOTIFICATION_DISPLAYED, id); - } else { - // No options, so hide the header and reset the list item - detailItem.setAttribute("optionsURL", ""); - aListItem.setAttribute("optionsURL", ""); } + + // Also send a notification to match the behavior of desktop Firefox + let id = aListItem.getAttribute("addonID"); + Services.obs.notifyObservers(document, AddonManager.OPTIONS_NOTIFICATION_DISPLAYED, id); } } xhr.send(null); diff --git a/mobile/android/themes/core/aboutAddons.css b/mobile/android/themes/core/aboutAddons.css index 270b1b7e64b..83e11f19cd2 100644 --- a/mobile/android/themes/core/aboutAddons.css +++ b/mobile/android/themes/core/aboutAddons.css @@ -39,10 +39,8 @@ } .addon-item[isDisabled="true"] .options-header, -.addon-item:not([optionsURL]) .options-header, .addon-item[optionsURL=""] .options-header, .addon-item[isDisabled="true"] .options-box, -.addon-item:not([optionsURL]) .options-box, .addon-item[optionsURL=""] .options-box { display: none; }