Skip to content

Commit

Permalink
silence LibStub when looking for LibQTip
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiatra committed Dec 9, 2022
1 parent 4055acc commit 83b1420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chocolate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ local function OnDragStart(frame)
-- hide libqtip tooltips
local libqtip = LibStub('LibQTip-1.0', true)
if libqtip and libqtip.IterateTooltips then
for _, tooltip in LibStub('LibQTip-1.0'):IterateTooltips() do
for _, tooltip in libqtip:IterateTooltips() do
libqtip:Release(tooltip)
end
end
Expand Down

0 comments on commit 83b1420

Please sign in to comment.