Fixed incorrect DOM structure

This commit is contained in:
alistair3149 2020-06-04 13:16:51 -04:00
parent 72ab186ccd
commit 65a364e3ca
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C
2 changed files with 4 additions and 5 deletions

View file

@ -143,11 +143,12 @@ class CitizenTemplate extends BaseTemplate {
'html-input' => $this->makeSearchInput( [ 'id' => 'search-input' ] ),
'html-button-search' => $this->makeSearchButton(
'image',
[ 'id' => 'search-button',
[
'id' => 'search-button',
'src' => $this->getSkin()->getSkinStylePath( 'resources/images/icons/search.svg' ),
]
),
'msg-search' => $this->msg( 'search' ),
'msg-search' => $this->getMsg( 'search' )->text(),
'page-title' => SpecialPage::getTitleFor( 'Search' )->getPrefixedDBkey(),
];
return $props;

View file

@ -7,9 +7,7 @@
<aside class="mw-bottombar">
<nav class="mw-bottombar-buttons">
<div class="citizen-ui-icon" id="citizen-ui-button">
<a href="{{html-citizen-bottombar-button-href}}" title="{{html-citizen-bottombar-button-title}}" rel="noopener noreferrer" target="_blank">
{{html-citizen-bottombar-button-text}}
</a>
<a href="{{html-citizen-bottombar-button-href}}" title="{{html-citizen-bottombar-button-title}}" rel="noopener noreferrer" target="_blank">{{html-citizen-bottombar-button-text}}</a>
</div>
</nav>
</aside>