Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
SeeChen committed Nov 30, 2024
1 parent a0b4554 commit a165ef6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions JavaScript/Projects/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ const SeeChen_ProjectsMouseEvent = {

if (e.target.classList.contains("project_border")) {

if ('ontouchstart' in window) {
document.documentElement.requestFullscreen();
}

document.querySelector("#project_details").classList.add("ready-to-full");
setTimeout(() => {
document.querySelector("#project_details").classList.add("full-window");
Expand Down

0 comments on commit a165ef6

Please sign in to comment.