Fix extconfpatches

This commit is contained in:
Tamius Han 2021-06-13 02:18:47 +02:00
parent c43b1daa42
commit c14aa99e5b

View File

@ -504,16 +504,12 @@ const ExtensionConfPatch = [
}, { }, {
forVersion: '5.0.4', forVersion: '5.0.4',
updateFn: (userOptions, defaultOptions) => { updateFn: (userOptions, defaultOptions) => {
try { userOptions.sites['www.disneyplus.com'].DOM.player = {
userOptions.sites['wwww.disneyplus.com'].DOM.player = { ... userOptions.sites['www.disneyplus.com'].DOM.player,
... userOptions.sites['wwww.disneyplus.com'].DOM.player,
querySelectors: ".btm-media-client-element", querySelectors: ".btm-media-client-element",
useRelativeAncestor: false, useRelativeAncestor: true,
videoAncestor: 1 videoAncestor: 1
} }
} catch (e) {
// do nothing
}
} }
} }
]; ];