This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Offset: Send px-ed strings to .css()
An upcoming release of Migrate will generate warnings for calls to .css() that pass numbers rather than strings, see jquery/jquery-migrate#296 . At the moment, core's .offset() setter passes numbers rather than px strings so it would throw warnings. This commit fixes that. Closes gh-4508
- Loading branch information
Showing 1 changed file with 6 additions and 0 deletions.