Javascript attached multiple times

Created on 9 June 2015, over 10 years ago
Updated 25 July 2025, 3 months ago

This module doesn't check to see if twentytwenty() has already been added to the specified DOM object, so it gets executed multiple times per page load. We should add .once() or use a simple addClass with check before calling the twentytwenty() method.

At this point, we should also abstract the javascript into it's own file.

Patch coming soon :D

πŸ› Bug report
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States andyg5000 North Carolina, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024