Use jQuery Once on Supersubs

Created on 13 August 2019, almost 6 years ago
Updated 20 February 2025, 4 months ago

Supersubs works on every page except when a Facets block is on the page. This is because Facets triggers attachBehaviors, which causes supersubs to be called again, for some reason with incorrect results. If jQuery Once is used, this is avoided.

Something like
$menu.once('supersubs').supersubs(options.plugins.supersubs);

πŸ› Bug report
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States xenophyle

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