Skip to content

Conversation

@WilliamBZA
Copy link
Member

Fixes #635

Switches to # instead of javascript:// as Angular 1.7.0 marks those URLs as unsafe.

Because we're now using # angular might want to route those to controllers which don't exist, so $event.preventDefault(); is used to prevent that.

It would make more sense to switch to buttons instead of anchor tags since we don't use the URLs for anything, but the styling changes proved too much for this bug.

@WilliamBZA WilliamBZA requested review from a team and WojcikMike May 30, 2018 08:05
Copy link
Contributor

@WojcikMike WojcikMike left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@WojcikMike WojcikMike merged commit fef6054 into master May 30, 2018
@WojcikMike WojcikMike deleted the unsafe-urls branch May 30, 2018 08:14
WilliamBZA added a commit that referenced this pull request Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants