add checkmode func to webremote
This commit is contained in:
parent
8780ff771f
commit
8031e790bf
1 changed files with 4 additions and 0 deletions
|
@ -142,6 +142,10 @@ var app = new Vue({
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
checkMode() {
|
||||||
|
urlParams = new URLSearchParams(window.location.search);
|
||||||
|
return urlParams.has('mode') ? urlParams.get('mode') : "default";
|
||||||
|
},
|
||||||
artworkPlaying() {
|
artworkPlaying() {
|
||||||
if (this.player.currentMediaItem.status) {
|
if (this.player.currentMediaItem.status) {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue