Skip to content

Commit

Permalink
Fix index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
pentamassiv committed Aug 15, 2024
1 parent a47c55d commit c06a3b7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ <h1>Conducted tests</h1>
<label for="MouseMove"> MouseMove</label><br>
<input type="checkbox" id="MouseScroll" name="MouseScroll">
<label for="MouseScroll"> MouseScroll</label><br>
<input type="checkbox" id="BrowserMaximized" name="BrowserMaximized">
<label for="BrowserMaximized"> BrowserMaximized</label><br>
</form>
<form id="textForm">
<label for="text">Enter text:</label>
Expand Down Expand Up @@ -62,11 +64,6 @@ <h1>Conducted tests</h1>
const windowHeight = window.innerHeight;
handleEvent('BrowserMaximized', `(${windowWidth},${windowHeight})`);
});


// Check if the window is maximized on page load
checkIfMaximized();

// Handle form submission
document.getElementById('textForm').addEventListener('submit', (event) => {
event.preventDefault(); // Prevent the form from submitting the traditional way
Expand Down

0 comments on commit c06a3b7

Please sign in to comment.