aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core.js b/src/core.js
index 638b5c62f..73c24dc9b 100644
--- a/src/core.js
+++ b/src/core.js
@@ -605,8 +605,7 @@ jQuery.extend({
},
// Use native String.trim function wherever possible
- // Uglify converts escapes to UTF-8; this circumvents (#12690)
- trim: core_trim && !core_trim.call( String.fromCharCode( 0xFEFF, 0xA0 ) ) ?
+ trim: core_trim && !core_trim.call("\xFEFF\xA0") ?
function( text ) {
return text == null ?
"" :