Skip to content

Event handling for login links

Robert Sinton requested to merge feature/login_links into master

What I did

  • Changed the event handling for .js__login links to apply to all links in the document at any time, not just those present at load time.

Implications

Allows login links added after page load to still function.

Setup

None

How to test

  • Code review.
  • Effectively the same change has been made in the custom zon-core branch for AFES. Log into AFES using FireFox — previously the login link in the nav menu would not work correctly, presumably due to a timing issue that only crops up in FF.

Merge request reports