Merge pull request #2687 from Bnyro/master

fix: respect preference for dearrow
This commit is contained in:
Bnyro 2023-07-20 10:25:09 +02:00 committed by GitHub
commit 882cfedcf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -543,6 +543,7 @@ const mixin = {
}
},
fetchDeArrowContent(videoIds) {
if (!this.getPreferenceBoolean("dearrow", false)) return {};
return this.fetchJson(this.apiUrl() + "/dearrow", {
videoIds: videoIds.join(","),
});