Try changing this:
Code:
local function OnHyperlinkEnter(frame, linkData, link)
local normal = showLinkType[linkData:match("^(.-):")]
to this:
Code:
local function OnHyperlinkEnter(frame, link, text)
local normal = showLinkType[link:match("(%a+):%d+")]
and this:
Code:
local function OnHyperlinkLeave(frame, linkData, link)
local normal = showLinkType[linkData:match("^(.-):")]
to this:
Code:
local function OnHyperlinkLeave(frame, link, text)
local normal = showLinkType[link:match("(%a+):%d+")]
and both instances of this:
Code:
SetItemRef(linkData, link, "LeftButton", frame)
to this:
Code:
SetItemRef(link, text, "LeftButton", frame)
The variable name changes are probably not strictly necessary (just the string.match argument change) but I'm just using the same names and techniques Blizzard is
now using so I don't have to load the game client and test anything to figure out what actually changed.