File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 165
165
// dislikes shorts
166
166
async function shortDislike ( ) {
167
167
validoUrl = document . location . href ;
168
- const validoVentanaShort = $e (
168
+ const validoVentanaShort = $m (
169
169
'#dislike-button > yt-button-shape > label > div > span'
170
170
) ;
171
171
if ( validoVentanaShort != undefined && document . location . href . split ( '/' ) [ 3 ] === 'shorts' ) {
172
172
validoUrl = document . location . href . split ( '/' ) [ 4 ] ;
173
173
const urlShorts = `${ apiDislikes } ${ validoUrl } ` ;
174
174
try {
175
175
const respuesta = await fetch ( urlShorts ) ;
176
- const datosShort = await respuesta . json ( ) ;
176
+ const datosShort = await respuesta . json ( ) ;
177
177
const { dislikes } = datosShort ;
178
178
for ( let i = 0 ; i < validoVentanaShort . length ; i ++ ) {
179
179
validoVentanaShort [ i ] . textContent = `${ FormatterNumber (
You can’t perform that action at this time.
0 commit comments