Skip to content

Commit 0ecc145

Browse files
committed
Replace $.trim with trim().
1 parent 156f6d7 commit 0ecc145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sfsmallscreen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
// Crystal clear.
9595
subIndicator = 1 < level ? Array(level).join('-') + ' ' : '';
9696
// Preparing the <option> element.
97-
items += '<option value="' + path + '"' + classes + disable + '>' + subIndicator + $.trim(item.text()) +'</option>',
97+
items += '<option value="' + path + '"' + classes + disable + '>' + subIndicator + item.text().trim() +'</option>',
9898
childUL = list.find('> ul');
9999
// Using the function for the sub-menu of this item.
100100
for (var u = 0; u < childUL.length; u++){

0 commit comments

Comments
 (0)