Skip to content

Commit

Permalink
Update cranach_pairwise_comparison.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Argyris36 authored Aug 16, 2024
1 parent 0d66d30 commit 70e54cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cranach_pairwise_comparison.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ <h1>Lucas Cranach Portrait Pairwise Comparison</h1>
const timeTaken = (endTime - startTime) / 1000; // Calculate time in seconds

results.push({
pair: `${pair.img1} vs ${pair.img2}`,
pair: `${pairs[currentPair].img1} vs ${pairs[currentPair].img2}`,
choice: choice,
position: position,
time: timeTaken
});

currentPair++;
if (currentPair < pairs.length) {
renderPair(pairs[currentPair]);
renderPair(pairs[currentPair]); // Move to the next pair
} else {
document.getElementById('comparison-container').innerHTML = '<h2>Thank you for your participation!</h2>';
document.getElementById('export-results').classList.remove('hidden');
Expand Down

0 comments on commit 70e54cf

Please sign in to comment.