Quantcast

No point disabling the tooltip if the bar is hidden

Adrian L Lange [08-07-09 - 04:43]
No point disabling the tooltip if the bar is hidden
Filename
oUF_Experience.lua
diff --git a/oUF_Experience.lua b/oUF_Experience.lua
index ce3d578..03a20fb 100644
--- a/oUF_Experience.lua
+++ b/oUF_Experience.lua
@@ -145,10 +145,6 @@ local function disable(self, unit)
 			self:UnregisterEvent('UNIT_PET', loadPet)
 			bar:Hide()
 		end
-
-		if(bar.Tooltip) then
-			bar:SetScript('OnEnter', nil)
-		end
 	end
 end