Fix banner breaking on reentry.

This commit is contained in:
Robin Ward 2015-05-04 16:01:35 -04:00
parent 82a4066993
commit 72b6c86564
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<div class="row">
<div id="banner" {{bind-attr class="overlay"}}>
<div id="banner" class={{overlay}}>
<div id="banner-content">
<div class="close" {{action "dismiss"}}><i class="fa fa-times" title="{{i18n 'banner.close'}}"></i></div>
{{{banner.html}}}

View File

@ -1,7 +1,9 @@
<div class='container'>
{{custom-html "top"}}
{{global-notice}}
{{#if model}}
{{discourse-banner user=currentUser banner=site.banner overlay=view.hasScrolled hide=model.errorLoading}}
{{/if}}
</div>
{{plugin-outlet "topic-above-post-stream"}}