mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-23 14:07:24 +00:00
parent
dce401348d
commit
227567326e
@ -251,7 +251,7 @@ export default {
|
|||||||
toggleListenUrl(_this) {
|
toggleListenUrl(_this) {
|
||||||
const url = new URL(window.location.href);
|
const url = new URL(window.location.href);
|
||||||
url.searchParams.set("listen", _this.isListening ? "0" : "1");
|
url.searchParams.set("listen", _this.isListening ? "0" : "1");
|
||||||
return url.href;
|
return url.pathname + url.search;
|
||||||
},
|
},
|
||||||
isEmbed(_this) {
|
isEmbed(_this) {
|
||||||
return String(_this.$route.path).indexOf("/embed/") == 0;
|
return String(_this.$route.path).indexOf("/embed/") == 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user