summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@opera.com>2024-12-18 11:17:37 +0100
committerJoel Klinghed <the_jk@opera.com>2024-12-18 11:18:49 +0100
commit176fb28c24dae4ba07123f20867435a71bf3e8ed (patch)
tree8800418ddd95ab3eb5d3dc070df4f671db04a040
parentcfead8b936a6f6940bb0eb26bd4afa1192e023e6 (diff)
Random stuff: Removing whitespace and installing using modern npm
-rw-r--r--demo/index.html2
-rw-r--r--package-lock.json1
-rw-r--r--src/display.html2
3 files changed, 3 insertions, 2 deletions
diff --git a/demo/index.html b/demo/index.html
index 9243d79..2acfeae 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -15,7 +15,7 @@
document.addEventListener('DOMContentLoaded', () => {
document.getElementById('button').addEventListener('click', (e) => {
e.preventDefault();
- alert('Button clicked');
+ alert('Button clicked');
});
});
</script>
diff --git a/package-lock.json b/package-lock.json
index b026927..4c6d132 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -7,6 +7,7 @@
"": {
"name": "clicks",
"version": "0.1.0",
+ "hasInstallScript": true,
"devDependencies": {
"@eslint/js": "^9.17.0",
"@types/heatmap.js": "^2.0.41",
diff --git a/src/display.html b/src/display.html
index 8dbec8e..ae22159 100644
--- a/src/display.html
+++ b/src/display.html
@@ -48,7 +48,7 @@
</head>
<body>
<div id="container">
- <div id="banner">
+ <div id="banner">
<span id="status">No file loaded</span>
<input type="file" name="file" id="file" accept=".json, application/json">
<select id="url"></select>