Update liker.js

now works as vanilla
This commit is contained in:
Janis Hau 2022-04-17 13:33:18 +02:00 committed by GitHub
parent 790694519d
commit 27b2ee9243
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
* have fun * have fun
*/ */
var $likeBTN = $('.recsGamepad__button--like, [aria-label="Like"]'), var $likeBTN = document.querySelector('[data-testid="gamepadLike"]'),
count = 0, count = 0,
times = 9999, times = 9999,
duration = 750; duration = 750;