Fixed issue 221, scroll to the preview if exists.

This commit is contained in:
Mehdi Kabab
2009-05-26 11:48:02 +02:00
committed by Loic d'Anterroches
parent 2c9cf96245
commit 3476541bf4
6 changed files with 22 additions and 16 deletions

View File

@@ -3,7 +3,7 @@
{block body}
{if $preview}
<h2 class="top">{trans 'Preview of the Page'}</h2>
<h2 id="preview" class="top">{trans 'Preview of the Page'}</h2>
{markdown $preview, $request}
{/if}

View File

@@ -3,7 +3,7 @@
{block body}
{if $preview}
<h2 class="top">{trans 'Preview of the Page'}</h2>
<h2 id="preview" class="top">{trans 'Preview of the Page'}</h2>
{markdown $preview, $request}
{/if}