Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +2 -2
templates/index.html
CHANGED
@@ -20,10 +20,10 @@
|
|
20 |
</div>
|
21 |
<script>
|
22 |
document.getElementById('prevBtn').addEventListener('click', function() {
|
23 |
-
navigate('{{ url_for("
|
24 |
});
|
25 |
document.getElementById('nextBtn').addEventListener('click', function() {
|
26 |
-
navigate('{{ url_for("
|
27 |
});
|
28 |
|
29 |
function navigate(url) {
|
|
|
20 |
</div>
|
21 |
<script>
|
22 |
document.getElementById('prevBtn').addEventListener('click', function() {
|
23 |
+
navigate('{{ url_for("prev_card", set=set_name, index=index) }}');
|
24 |
});
|
25 |
document.getElementById('nextBtn').addEventListener('click', function() {
|
26 |
+
navigate('{{ url_for("next_card", set=set_name, index=index) }}');
|
27 |
});
|
28 |
|
29 |
function navigate(url) {
|