Slugs for pages were using underscores and not hyphens
I think this has been resolved before, but it seems to have reverted. Hyphens are more of a standard in CMS'
This commit is contained in:
parent
7e31d3ea76
commit
7c8b973889
@ -62,7 +62,7 @@ $(document).ready(function() {
|
||||
|
||||
if (!slug.hasClass('filled')) {
|
||||
setTimeout(function() {
|
||||
slug.val(makeSlug(input.val())).addClass('touched');
|
||||
slug.val(makeSlug(input.val(), '-')).addClass('touched');
|
||||
}, 50);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user