Quantcast

no idea wtf happened

Darthpred [10-08-16 - 09:23]
no idea wtf happened
Filename
ElvUI_SLE/modules/quests/quests.lua
diff --git a/ElvUI_SLE/modules/quests/quests.lua b/ElvUI_SLE/modules/quests/quests.lua
index 8605820..b57f7e5 100644
--- a/ElvUI_SLE/modules/quests/quests.lua
+++ b/ElvUI_SLE/modules/quests/quests.lua
@@ -4,17 +4,19 @@ local B = LibStub("LibBabble-SubZone-3.0")
 local BL = B:GetLookupTable()
 local ObjectiveTracker_Expand, ObjectiveTracker_Collapse = ObjectiveTracker_Expand, ObjectiveTracker_Collapse
 local IsResting = IsResting
+local _G = _G
+
+local minimizeButton = _G["ObjectiveTrackerFrame"].HeaderMenu.MinimizeButton
+
 local statedriver = {
 	["FULL"] = function(frame)
 		ObjectiveTracker_Expand()
-		-- TextFix(minimizeButton, "full")
 		minimizeButton.text:SetText("-")
 		frame:Show()
 	end,
 	["COLLAPSED"] = function(frame)
 		ObjectiveTracker_Collapse()
 		minimizeButton.text:SetText("+")
-		-- TextFix(minimizeButton, "collaped")
 		frame:Show()
 	end,
 	["HIDE"] = function(frame)