Do our return falses. Props duck_. see #14746

git-svn-id: https://develop.svn.wordpress.org/trunk@16187 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2010-11-04 17:58:04 +00:00
parent 44b87921bd
commit 018429a9f6
2 changed files with 4 additions and 1 deletions

View File

@ -487,6 +487,7 @@ jQuery(document).ready( function($) {
$('.edit-post-format', '#post-formats').click(function () {
$('#post-formats-select').slideDown("normal");
$(this).hide();
return false;
});
$('.cancel-post-format', '#post-formats-select').click(function () {
@ -494,12 +495,14 @@ jQuery(document).ready( function($) {
$('#post-format').val( $('#old-post-format').val() );
$('#post-format-display').text( $('option:selected', '#post-formats-select').text() );
$('.edit-post-format').show();
return false;
});
$('.save-post-format', '#post-formats-select').click(function () {
$('#post-formats-select').slideUp("normal");
$('#post-format-display').text( $('option:selected', '#post-formats-select').text() );
$('.edit-post-format').show();
return false;
});
$('#timestampdiv').siblings('a.edit-timestamp').click(function() {

File diff suppressed because one or more lines are too long