X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2Fstemmaweb.git;a=blobdiff_plain;f=root%2Fjs%2Fcomponentload.js;h=8be32107415fccce7e11f9be56a532ffaf34ba55;hp=37b4f12c5f441a2374979774005963bd0ef5f595;hb=e239d45f9ea50e2a3ee2e4575a6b5ea33eaa7dee;hpb=f6dbd41907b2aa94cfc713c091abe6fbb2910694 diff --git a/root/js/componentload.js b/root/js/componentload.js index 37b4f12..8be3210 100644 --- a/root/js/componentload.js +++ b/root/js/componentload.js @@ -548,7 +548,7 @@ $(document).ready( function() { $('#stemweb-ui-dialog').dialog({ autoOpen: false, - height: 425, + height: 'auto', width: 400, modal: true, buttons: { @@ -605,6 +605,9 @@ $(document).ready( function() { // Set up the relevant options for whichever algorithm is chosen. // "key" -> form name, option ID "stemweb_$key_opt" // "name" -> form label + $('#stemweb_algorithm_help').click( function() { + $('#stemweb_algorithm_desc_text').toggle( 'blind' ); + }); $('#stemweb_algorithm').change( function() { var pk = $(this).val(); // Display a link to the popup description, and fill in