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:
John Polling 2011-07-28 10:38:00 +01:00
parent 7e31d3ea76
commit 7c8b973889
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
});