Hide submissions on mobile

This commit is contained in:
Ajay Ramachandran
2021-10-20 19:28:00 -04:00
parent 1e8b176c69
commit bd0a6aaaad
3 changed files with 7 additions and 4 deletions

View File

@@ -151,7 +151,8 @@ function messageListener(request: Message, sender: unknown, sendResponse: (respo
//send the sponsor times along with if it's found
sendResponse({
found: sponsorDataFound,
sponsorTimes: sponsorTimes
sponsorTimes: sponsorTimes,
onMobileYouTube
});
if (!request.updating && popupInitialised && document.getElementById("sponsorBlockPopupContainer") != null) {