From a9c8d9a235ff74f8bcaa2ec833cf4912abbab91e Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 2 Jul 2024 21:16:10 +0200 Subject: [PATCH] Fix : set testbtn as css style for species change dropdown (align with all dropdown) (#129) --- scripts/play.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/play.php b/scripts/play.php index 38923c0..075fcd5 100644 --- a/scripts/play.php +++ b/scripts/play.php @@ -282,7 +282,7 @@ function changeDetection(filename,copylink=false) { const xhttp = new XMLHttpRequest(); xhttp.onload = function() { const labels = JSON.parse(this.responseText); - let dropdown = '
'; + let dropdown = '
'; // Check if the modal already exists let modal = document.getElementById('myModal'); @@ -298,7 +298,7 @@ function changeDetection(filename,copylink=false) { // Add a title to the modal box let title = document.createElement('h2'); - title.textContent = 'Please select the correct specie here:'; + title.textContent = 'Please select the correct species here:'; content.appendChild(title); // Add the dropdown to the content