Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix(phoenix_html.js): Make IIFE idempotent by injecting a global _… #285

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jan 28, 2020

  1. bugfix(phoenix_html.js): Make IIFE idempotent by injecting a global _…

    …phx_loaded boolean flag that is set after setup. Prevents event handlers from being set multiple times in case of libraries like turbolinks which would run this code several times
    tomciopp committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    a7f129d View commit details
    Browse the repository at this point in the history