mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 11:36:16 +00:00
Make Metadata Parser readable with ChatGPT 💀
Remove useless code for fullscreening image
This commit is contained in:
parent
e6d289ed64
commit
b0a9271265
7 changed files with 48 additions and 103 deletions
|
@ -124,6 +124,7 @@ function uploadFile() {
|
|||
function openUploadTab() {
|
||||
// Stop scrolling
|
||||
document.querySelector("html").style.overflow = "hidden";
|
||||
document.querySelector(".content").tabIndex = "-1";
|
||||
|
||||
// Open upload tab
|
||||
const uploadTab = document.querySelector(".upload-panel");
|
||||
|
@ -137,6 +138,7 @@ function openUploadTab() {
|
|||
function closeUploadTab() {
|
||||
// un-Stop scrolling
|
||||
document.querySelector("html").style.overflow = "auto";
|
||||
document.querySelector(".content").tabIndex = "";
|
||||
|
||||
// Close upload tab
|
||||
const uploadTab = document.querySelector(".upload-panel");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue