Quantcast

Elv, Y U break mah stuff? This fixes #303

Darthpred [08-25-16 - 06:45]
Elv, Y U break mah stuff? This fixes #303
Filename
ElvUI_SLE/skins/blizzard/objectiveTracker.lua
diff --git a/ElvUI_SLE/skins/blizzard/objectiveTracker.lua b/ElvUI_SLE/skins/blizzard/objectiveTracker.lua
index 11a3737..bf848f6 100644
--- a/ElvUI_SLE/skins/blizzard/objectiveTracker.lua
+++ b/ElvUI_SLE/skins/blizzard/objectiveTracker.lua
@@ -229,9 +229,14 @@ local function ObjectiveReskin()
 		end)
 		-- proving grounds
 		hooksecurefunc("Scenario_ProvingGrounds_ShowBlock", SkinProvingGroundButtons)
+		local function MinOnClick(self)
+			local textObject = self.text
+			textObject:SetText("")
+		end
 		_G["ObjectiveTrackerFrame"].HeaderMenu.MinimizeButton:SetSize(14,14)
 		_G["ObjectiveTrackerFrame"].HeaderMenu.MinimizeButton:SetNormalTexture([[Interface\AddOns\ElvUI_SLE\media\textures\NewQuestMinimize]])
 		_G["ObjectiveTrackerFrame"].HeaderMenu.MinimizeButton:SetPushedTexture([[Interface\AddOns\ElvUI_SLE\media\textures\NewQuestMinimize]])
+		_G["ObjectiveTrackerFrame"].HeaderMenu.MinimizeButton:HookScript('OnClick', MinOnClick)

 		--Doing Underlines
 		local flat = [[Interface\AddOns\ElvUI\media\textures\Minimalist]]