File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -605,7 +605,8 @@ jQuery.extend({
605
605
} ,
606
606
607
607
// Use native String.trim function wherever possible
608
- trim : core_trim && ! core_trim . call ( "\uFEFF\xA0" ) ?
608
+ // Uglify converts escapes to UTF-8; this circumvents (#12690)
609
+ trim : core_trim && ! core_trim . call ( String . fromCharCode ( 0xFEFF , 0xA0 ) ) ?
609
610
function ( text ) {
610
611
return text == null ?
611
612
"" :
Original file line number Diff line number Diff line change @@ -603,7 +603,7 @@ jQuery.removeEvent = document.removeEventListener ?
603
603
604
604
if ( elem . detachEvent ) {
605
605
606
- // #8545, #7054, preventing memory leaks for custom events in IE6-8 –
606
+ // #8545, #7054, preventing memory leaks for custom events in IE6-8
607
607
// detachEvent needed property on element, by name of that event, to properly expose it to GC
608
608
if ( typeof elem [ name ] === "undefined" ) {
609
609
elem [ name ] = null ;
You can’t perform that action at this time.
0 commit comments