skin: fix auctionhouse race condition

This commit is contained in:
shagu
2016-11-26 01:00:40 +01:00
parent c642c13d76
commit e01bfd6555
-1
View File
@@ -98,7 +98,6 @@ pfUI.utils:CreateBackdrop(TicketStatusFrame)
-- This hackfix rearranges it, by setting the width of it, as soon as
-- the auctionhouse window is ready to get hooked.
local pfAuctionHouseFix = CreateFrame("Frame", nil)
pfAuctionHouseFix:RegisterEvent("AUCTION_HOUSE_SHOW")
pfAuctionHouseFix:RegisterEvent("ADDON_LOADED")
pfAuctionHouseFix:SetScript("OnEvent", function ()
if not pfAuctionFrame_OnShow and AuctionFrame_OnShow then