Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292750

Recent removal of jQuery.is() results in undefined element errors in entity-embed.js

$
0
0

Problem/Motivation

in #3238849: Refactor (if feasible) use of jquery is function to use vanillaJS the jQuery is() function was phased out. In some cases the replacements didn't account for jQuery implicitly checking for the existence of an element before checking its property. Without this, there's an error when the check is occuring on a nonexistent element.

Steps to reproduce

Proposed resolution

Check if element exists before checking a property of it.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 292750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>