mirror of
https://github.com/zedeus/nitter.git
synced 2024-06-10 09:09:21 +00:00
Fix broken tab spacing
Co-authored-by: Zed <zedeus@pm.me>
This commit is contained in:
parent
289edc973c
commit
ea0b5d7b9d
|
@ -1,9 +1,9 @@
|
||||||
// @license http://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0
|
// @license http://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0
|
||||||
// SPDX-License-Identifier: AGPL-3.0-only
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
function playVideo() {
|
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 () {
|
video_overlay[i].addEventListener('click', function () {
|
||||||
|
|
||||||
const video = this.parentElement.querySelector('video');
|
const video = this.parentElement.querySelector('video');
|
||||||
|
|
Loading…
Reference in a new issue