Fixed issue 221, scroll to the preview if exists.
This commit is contained in:
committed by
Loic d'Anterroches
parent
2c9cf96245
commit
3476541bf4
@@ -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}
|
||||
|
@@ -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}
|
||||
|
Reference in New Issue
Block a user