Javascript bug breezyInsert

Created on 28 April 2024, 11 months ago
Updated 19 June 2024, 10 months ago

Problem/Motivation

In πŸ“Œ Utility class plugin enhancements Fixed , eslint was added, and one error reported was jquery/no-is, which I replaced with .matches(), however, the match selector is a jQuery specific ':animated' feature, and so matches() never picks it up, and throws a console error.

Steps to reproduce

Just add an element and click save at the bottom of a variation form (breezy_layouts).

SyntaxError: Failed to execute 'matches' on 'Element': ':animated' is not a valid selector.

Proposed resolution

Short term, disable the eslint error for that line.
Long term, replace the jquery animation (follow up issue).

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States scottsawyer Atlanta

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024