Replace jQuery trim() using vanilla JS

This commit is contained in:
Bjarne Fyrstenborg
2021-01-03 15:19:34 +01:00
committed by Nathan Woulfe
parent 143d2e7e30
commit 2398c40720
2 changed files with 2 additions and 2 deletions

View File

@@ -352,7 +352,7 @@
item["$index"] = (idx + 1);
var newName = contentType.nameExp(item);
if (newName && (newName = $.trim(newName))) {
if (newName && (newName = newName.trim())) {
name = newName;
}