Spaces:
Runtime error
Runtime error
Update templates/index.html
Browse files- templates/index.html +2 -2
templates/index.html
CHANGED
@@ -175,9 +175,9 @@
|
|
175 |
}
|
176 |
}, 3000);
|
177 |
|
178 |
-
// Function to open links
|
179 |
function openLink(url) {
|
180 |
-
window.
|
181 |
}
|
182 |
</script>
|
183 |
</body>
|
|
|
175 |
}
|
176 |
}, 3000);
|
177 |
|
178 |
+
// Function to open links in the same tab
|
179 |
function openLink(url) {
|
180 |
+
window.location.href = url; // Redirects to the specified URL in the same tab
|
181 |
}
|
182 |
</script>
|
183 |
</body>
|