View Single Post
12/22/18, 03:50 PM   #1
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
[fixed] Typo IsMenuVisisble(), file libraries/zo_contextmenus/zo_contextmenus.lua

Hey there,

in the file here the function name contains an s too much.
It's just a typo bug and there is appearantly only 1 call to this function in the same filename, but maybe a fix is easy then

esoui/libraries/zo_contextmenus/zo_contextmenus.lua


function IsMenuVisisble()
return mouseUpRefCounts[ZO_Menu] ~= nil
end

function MenuOwnerClosed(potentialOwner)
if(IsMenuVisisble() and (GetMenuOwner() == potentialOwner)) then
ClearMenu()
end
end