1
0
mirror of https://github.com/zedeus/nitter synced 2024-11-24 18:59:30 +01:00

Fix broken tab spacing

Co-authored-by: Zed <zedeus@pm.me>
This commit is contained in:
Butter Cat 2023-11-18 14:42:54 +00:00 committed by GitHub
parent 289edc973c
commit ea0b5d7b9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,9 @@
// @license http://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0
// SPDX-License-Identifier: AGPL-3.0-only
function playVideo() {
const video_overlay = document.getElementsByClassName("video-overlay");
const video_overlay = document.getElementsByClassName("video-overlay");
for (var i = 0 ; i < video_overlay.length; i++) {
for (var i = 0 ; i < video_overlay.length; i++) {
video_overlay[i].addEventListener('click', function () {
const video = this.parentElement.querySelector('video');