You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AdminUI/LearningHub.Nhs.AdminUI/Views/Catalogue/Edit.cshtml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -360,14 +360,14 @@
360
360
361
361
// Split the input value by commas and trim each keyword
362
362
var values =value.split(',').map(function (item) {
363
-
returnitem.trim();
363
+
returnitem.trim().toLowerCase();
364
364
});
365
365
366
366
var duplicateKeywords = [];
367
367
$('#keyword-error-span').hide();
368
368
values.forEach(function (value) {
369
369
if (value &&keywords.indexOf(value) ===-1) {
370
-
keywords.push(value);
370
+
keywords.push(value);
371
371
$('#Keywords').val(keywords);
372
372
var tag =$('<div class="keyword-tag"><p>'+ value +'</p><i class="fa fa-times"></i><input class="keyword-value" type="hidden" value="'+ value +'" /></div>');
0 commit comments