Put the preview anchors on the h2. Props: markjaquith fixes #1765

git-svn-id: https://develop.svn.wordpress.org/trunk@2973 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-10-29 01:52:56 +00:00
parent 6eacdcf924
commit 7ffc6d0838
3 changed files with 4 additions and 5 deletions

View File

@@ -78,8 +78,7 @@ case 'edit':
?>
<div id='preview' class='wrap'>
<a id="preview-post"></a>
<h2><?php _e('Post Preview (updated when post is saved)'); ?> <small class="quickjump"><a href="#write-post"><?php _e('edit &uarr;'); ?></a></small></h2>
<h2 id="preview-post"><?php _e('Post Preview (updated when post is saved)'); ?> <small class="quickjump"><a href="#write-post"><?php _e('edit &uarr;'); ?></a></small></h2>
<iframe src="<?php the_permalink(); ?>" width="100%" height="600" />
</div>
<?php