Not lock tooltip cva when tooltip is actually disabled. This fixes #279
Darthpred [08-17-16 - 06:00]
Not lock tooltip cva when tooltip is actually disabled. This fixes #279
diff --git a/ElvUI_SLE/core/core.lua b/ElvUI_SLE/core/core.lua
index 35861b6..1d11c64 100644
--- a/ElvUI_SLE/core/core.lua
+++ b/ElvUI_SLE/core/core.lua
@@ -123,8 +123,6 @@ function SLE:Initialize()
self.initialized = true
self:InitializeModules(); --Load Modules
- SLE:SetCompareItems() --Blizz cvar for item compare
-
hooksecurefunc(E, "UpdateAll", SLE.UpdateAll)
--Here goes installation script
diff --git a/ElvUI_SLE/modules/tooltips/tooltip.lua b/ElvUI_SLE/modules/tooltips/tooltip.lua
index 9f60253..1771010 100644
--- a/ElvUI_SLE/modules/tooltips/tooltip.lua
+++ b/ElvUI_SLE/modules/tooltips/tooltip.lua
@@ -51,5 +51,7 @@ local function Init()
hooksecurefunc(TT, "GameTooltip_OnTooltipSetUnit", OnTooltipSetUnit)
hooksecurefunc(TT, "CheckBackdropColor", AnchorFrameToMouse)
+
+ SLE:SetCompareItems() --Blizz cvar for item compare
end
hooksecurefunc(TT, "Initialize", Init)
\ No newline at end of file