Skip to content

Commit 7214002

Browse files
authoredMay 7, 2021
CSS: Fix duplicate "JQMIGRATE" prefix in cssProps warning
This prefix is added by `migrateWarn()`, but in the case of cssProps, the prefix was also in the string passed as parameter. Closes gh-424
1 parent 7cae174 commit 7214002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/jquery/css.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ if ( jQueryVersionSince( "3.4.0" ) && typeof Proxy !== "undefined" ) {
7575

7676
jQuery.cssProps = new Proxy( jQuery.cssProps || {}, {
7777
set: function() {
78-
migrateWarn( "JQMIGRATE: jQuery.cssProps is deprecated" );
78+
migrateWarn( "jQuery.cssProps is deprecated" );
7979
return Reflect.set.apply( this, arguments );
8080
}
8181
} );

0 commit comments

Comments
 (0)
Please sign in to comment.