diff --git a/EllesmereUIActionBars/EllesmereUIActionBars.lua b/EllesmereUIActionBars/EllesmereUIActionBars.lua index 5a05634ba..fbf8b4625 100644 --- a/EllesmereUIActionBars/EllesmereUIActionBars.lua +++ b/EllesmereUIActionBars/EllesmereUIActionBars.lua @@ -940,6 +940,12 @@ hiddenParent:Hide() function ns.QuietlyHideBlizzButton(btn) btn:UnregisterAllEvents() btn:SetAttributeNoHandler("statehidden", true) + -- Blizzard's own re-init re-registers events (incl. cooldown) on this + -- already-tainted button; re-strip them on its next OnShow. + if not btn._eabReassertHide then + btn._eabReassertHide = true + btn:HookScript("OnShow", function(self) self:UnregisterAllEvents() end) + end end -- Re-hide a stock bar Blizzard just re-Show()'d, without calling Hide() or