You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
526 B
15 lines
526 B
local AS, L, S, R = unpack(AddOnSkins)
|
|
|
|
function R:PetJournalEnhanced(event, addon)
|
|
if addon == 'Blizzard_PetJournal' or C_AddOns.IsAddOnLoaded('Blizzard_PetJournal') then
|
|
PetJournal:HookScript('OnShow', function()
|
|
S:StripTextures(PJEUniquePetCount)
|
|
S:HandleScrollBar(PetJournalEnhancedListScrollFrameScrollBar)
|
|
S:HandleButton(PetJournalEnhancedFilterButton)
|
|
end)
|
|
|
|
AS:UnregisterSkinEvent('PetJournalEnhanced', 'ADDON_LOADED')
|
|
end
|
|
end
|
|
|
|
AS:RegisterSkin('PetJournalEnhanced', nil, 'ADDON_LOADED')
|
|
|