public
Description: WoW Addon - Crowd control assistance
Homepage: http://www.tekkub.net
Clone URL: git://github.com/tekkub/controlfreak.git
Click here to lend your support to: controlfreak and make a donation at www.pledgie.com !
Embed update
tekkub (author)
Sat Sep 06 13:19:32 -0700 2008
commit  ac5ace9983bef46e347c7045d9d08c9e3e143486
tree    6c4d4961f6b3d94ad27971cee9aa244e2446fdd5
parent  c36f415ff557bc5b72227aedbbe85a2f3a3b1e24
...
 
1
2
 
3
4
5
...
14
15
16
17
18
 
 
19
20
21
...
1
2
 
3
4
5
6
...
15
16
17
 
 
18
19
20
21
22
0
@@ -1,5 +1,6 @@
0
+if IS_WRATH_BUILD == nil then IS_WRATH_BUILD = (select(4, GetBuildInfo()) >= 30000) end
0
 
0
-local lib, oldminor = LibStub:NewLibrary("tekKonfig-Dropdown", 1)
0
+local lib, oldminor = LibStub:NewLibrary("tekKonfig-Dropdown", 2)
0
 if not lib then return end
0
 oldminor = oldminor or 0
0
 
0
@@ -14,8 +15,8 @@ local function ShowTooltip(self)
0
 end
0
 
0
 
0
-local function OnClick()
0
- ToggleDropDownMenu()
0
+local function OnClick(self)
0
+ if IS_WRATH_BUILD then ToggleDropDownMenu(nil, nil, self:GetParent()) else ToggleDropDownMenu() end
0
   PlaySound("igMainMenuOptionCheckBoxOn")
0
 end
0
 

Comments

    No one has commented yet.