public
Description: WoW Addon - Automatically restock items from vendors and your bank
Homepage: http://www.tekkub.net
Clone URL: git://github.com/tekkub/stealyourcarbon.git
Click here to lend your support to: stealyourcarbon and make a donation at www.pledgie.com !
Embed update
tekkub (author)
Sat Sep 06 13:10:50 -0700 2008
commit  7dcefee0e3b2c1a7e0efa1494c55d326f6dd93b7
tree    a3ce9098e1872394f40907a6f43d0cfc40199520
parent  80b0a25a8737bb5f1203b9e438809153fe0516d7
...
 
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.