Disable Fullscreen view when artist/album name is clicked. (#1315)
* Disable Fullscreen view when artist/album name is clicked. idk why this change didn't exist * Seperate dash from album name * Replace `$root.showSearch()` with `app.appRoute('search')` `$root.showSearch()` prevents going back to previous page from sidebar.
This commit is contained in:
parent
72b756cc27
commit
05c79cb991
2 changed files with 8 additions and 6 deletions
|
@ -51,13 +51,15 @@
|
||||||
<div
|
<div
|
||||||
style="display: inline-block; -webkit-box-orient: horizontal; white-space: nowrap; margin-top: 0.25vh; overflow: hidden;">
|
style="display: inline-block; -webkit-box-orient: horizontal; white-space: nowrap; margin-top: 0.25vh; overflow: hidden;">
|
||||||
<div class="item-navigate song-artist" style="display: inline-block;"
|
<div class="item-navigate song-artist" style="display: inline-block;"
|
||||||
@click="app.getNowPlayingItemDetailed(`artist`)">
|
@click="app.getNowPlayingItemDetailed(`artist`) && app.fullscreen(false)">
|
||||||
{{ app.mk.nowPlayingItem["attributes"]["artistName"] }}
|
{{ app.mk.nowPlayingItem["attributes"]["artistName"] }}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="song-artist" style="display: inline-block;">
|
||||||
|
{{ (app.mk.nowPlayingItem["attributes"]["albumName"]) ? " — " : "" }}
|
||||||
|
</div>
|
||||||
<div class="song-artist item-navigate" style="display: inline-block;"
|
<div class="song-artist item-navigate" style="display: inline-block;"
|
||||||
@click="app.getNowPlayingItemDetailed('album')">
|
@click="app.getNowPlayingItemDetailed('album') && app.fullscreen(false)">
|
||||||
{{ (app.mk.nowPlayingItem["attributes"]["albumName"]) ? (" — " +
|
{{ (app.mk.nowPlayingItem["attributes"]["albumName"]) ? (app.mk.nowPlayingItem["attributes"]["albumName"]) : "" }}
|
||||||
app.mk.nowPlayingItem["attributes"]["albumName"]) : "" }}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -7,11 +7,11 @@
|
||||||
<input
|
<input
|
||||||
type="search"
|
type="search"
|
||||||
spellcheck="false"
|
spellcheck="false"
|
||||||
@click="$root.showSearch()"
|
@click="app.appRoute('search');"
|
||||||
@focus="$root.search.showHints = true"
|
@focus="$root.search.showHints = true"
|
||||||
@blur="$root.setTimeout(()=>{$root.search.showHints = false}, 300)"
|
@blur="$root.setTimeout(()=>{$root.search.showHints = false}, 300)"
|
||||||
v-on:keyup.enter="$root.searchQuery();$root.search.showHints = false"
|
v-on:keyup.enter="$root.searchQuery();$root.search.showHints = false"
|
||||||
@change="$root.showSearch();"
|
@change="app.appRoute('search');"
|
||||||
@input="$root.getSearchHints()"
|
@input="$root.getSearchHints()"
|
||||||
:placeholder="$root.getLz('term.search') + '...'"
|
:placeholder="$root.getLz('term.search') + '...'"
|
||||||
v-model="$root.search.term"
|
v-model="$root.search.term"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue