Skip to content

Commit

Permalink
[widgets\ContextMenu] Fix StartHideCounter Creating Timer
Browse files Browse the repository at this point in the history
  • Loading branch information
doadin committed Feb 17, 2024
1 parent 137b286 commit 0b18bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions widgets/ContextMenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if not StdUi then
return
end

local module, version = 'ContextMenu', 3;
local module, version = 'ContextMenu', 4;
if not StdUi:UpgradeNeeded(module, version) then
return
end
Expand Down Expand Up @@ -210,7 +210,7 @@ StdUi.ContextMenuMethods = {
if self.timer then
self.timer:Cancel();
end
self.timer = C_Timer:NewTimer(3, self.TimerCallback);
self.timer = C_Timer.NewTimer(3, self.TimerCallback);
end,

StopHideCounter = function()
Expand Down

0 comments on commit 0b18bef

Please sign in to comment.