facetsViewsAjaxPopstate in facets-views-ajax.js uses jquery/once instead of core/once

Created on 22 September 2023, about 1 year ago
Updated 3 October 2023, about 1 year ago

Problem/Motivation

When the facetsViewsAjaxPopstate is activated it triggers a jquery once deprecated error in the browser console.

Steps to reproduce

Proposed resolution

Replace jquery/once with drupal/once usage.

//$(document).once('facetsViewsAjaxPopstate').each( function() {
$(once('facetsViewsAjaxPopstate', 'document')).each( function() {
πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡·Greece nikitas

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

Comments & Activities

Production build 0.71.5 2024