https://bugzilla.wikimedia.org/show_bug.cgi?id=71494
Bug ID: 71494
Summary: handleLinkClick breaks navigation for links with
sub-elements
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: GuidedTour
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
When a link has a sub-element, and you click the sub-element, it will navigate
to 'undefined'.
This is because event.target is what you actually clicked. If that is a
sub-element, it won't have the href.
Reported by Jake Orlowitz; affects The Wikipedia Adventure which uses a <big>
sub-element.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l