From a64a765ea1c3286ac6928aeb461896d08bcb046e Mon Sep 17 00:00:00 2001 From: AIboy996 <2207854887@qq.com> Date: Tue, 12 Sep 2023 13:34:16 +0800 Subject: [PATCH] fix --- docs/About/m.resume.html | 8 +++++++- docs/About/resume.html | 5 +++++ docs/About/resume.js | 5 ----- 3 files changed, 12 insertions(+), 6 deletions(-) delete mode 100644 docs/About/resume.js diff --git a/docs/About/m.resume.html b/docs/About/m.resume.html index 837f1c948..a4858b798 100644 --- a/docs/About/m.resume.html +++ b/docs/About/m.resume.html @@ -3,8 +3,14 @@ <head> <meta charset="UTF-8"> <link rel="stylesheet" href="resume.css"> - <script src="resume.js"></script> <title>Yang Zhang</title> + <script> + // When the user clicks on <div>, open the popup + function myFunction() { + var popup = document.getElementById("myPopup"); + popup.classList.toggle("show"); + } + </script> </head> <body> diff --git a/docs/About/resume.html b/docs/About/resume.html index 8d6ff78ae..22cb7bae9 100644 --- a/docs/About/resume.html +++ b/docs/About/resume.html @@ -6,6 +6,11 @@ <link rel="stylesheet" href="resume.css"> <script src="resume.js"></script> <script> + // When the user clicks on <div>, open the popup + function myFunction() { + var popup = document.getElementById("myPopup"); + popup.classList.toggle("show"); + } var width = ((typeof screen !== 'undefined') ? screen.width : null) || window.innerWidth || document.documentElement.clientWidth diff --git a/docs/About/resume.js b/docs/About/resume.js deleted file mode 100644 index 8d92f9ed7..000000000 --- a/docs/About/resume.js +++ /dev/null @@ -1,5 +0,0 @@ -// When the user clicks on <div>, open the popup -function myFunction() { - var popup = document.getElementById("myPopup"); - popup.classList.toggle("show"); -} \ No newline at end of file