OzoneAsai commited on
Commit
28abf5b
1 Parent(s): 2083b33

Update templates/index.html

Browse files
Files changed (1) hide show
  1. 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("prev", set=set_name, index=index) }}');
24
  });
25
  document.getElementById('nextBtn').addEventListener('click', function() {
26
- navigate('{{ url_for("next", set=set_name, index=index) }}');
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) {