Skip to content

Replace jQuery size() with length property#2

Draft
minogump wants to merge 1 commit into
masterfrom
graphite-agent/5267-replace_jquery_size_with_length_property
Draft

Replace jQuery size() with length property#2
minogump wants to merge 1 commit into
masterfrom
graphite-agent/5267-replace_jquery_size_with_length_property

Conversation

@minogump

@minogump minogump commented Jan 6, 2026

Copy link
Copy Markdown
Owner

What changed

Replaced all deprecated jQuery .size() method calls with the .length property across the JavaScript codebase (4 occurrences in motion.js and utils.js).

Why

The jQuery .size() method was deprecated in jQuery 1.8 and removed in jQuery 3.0, causing JavaScript errors in modern jQuery versions. The .length property is the standard, recommended approach for checking the number of elements in a jQuery collection and has always been available in jQuery.


This PR was created by Graphite Agent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant