Skip to content

Commit

Permalink
Merge pull request locomotivecms#151 from pollingj/master
Browse files Browse the repository at this point in the history
Page slugs hyphens
  • Loading branch information
did committed Jul 28, 2011
2 parents a9b6c23 + 7c8b973 commit 49fee12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/javascripts/admin/pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});
Expand Down

0 comments on commit 49fee12

Please sign in to comment.