Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nima-maghooli authored Apr 17, 2024
1 parent 746518d commit 4305224
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions assets/js/main.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**
* Template Name: MyResume
* Updated: Mar 10 2023 with Bootstrap v5.2.3
* Template URL: https://bootstrapmade.com/free-html-bootstrap-template-my-resume/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/
/**
* Template Name: MyResume
* Updated: Mar 10 2023 with Bootstrap v5.2.3
* Template URL: https://bootstrapmade.com/free-html-bootstrap-template-my-resume/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/
(function() {
"use strict";

Expand Down Expand Up @@ -267,4 +267,10 @@
*/
new PureCounter();

})()
window.onbeforeunload = () => {
for(const form of document.getElementsByTagName('form')) {
form.reset();
}
}

})()

0 comments on commit 4305224

Please sign in to comment.