diff --git a/wp-admin/js/post.js b/wp-admin/js/post.js
index 6380eeca1b..38ec832ede 100644
--- a/wp-admin/js/post.js
+++ b/wp-admin/js/post.js
@@ -683,7 +683,7 @@ jQuery(document).ready( function($) {
}
slug_value = ( c > full.length / 4 ) ? '' : full;
- e.html('').children('input').keypress(function(e){
+ e.html('').children('input').keypress(function(e) {
var key = e.keyCode || 0;
// on enter, just save the new slug, don't save the post
if ( 13 == key ) {
@@ -694,6 +694,7 @@ jQuery(document).ready( function($) {
b.children('.cancel').click();
return false;
}
+ }).keyup(function(e) {
real_slug.val(this.value);
}).focus();
}