diff --git a/public/admin.html b/public/admin.html
index cdea6fa..953df2f 100644
--- a/public/admin.html
+++ b/public/admin.html
@@ -78,7 +78,12 @@
}catch(e){ msg.style.color='#f0a05a'; msg.textContent='Connection hiccup.'; }
$('agGo').disabled=false;
}
- document.addEventListener('DOMContentLoaded',function(){ boot(); var b=$('agGo'); if(b) b.addEventListener('click',award); });
+ window.agBoot=boot;
+ document.addEventListener('DOMContentLoaded',function(){
+ var b=$('agGo'); if(b) b.addEventListener('click',award);
+ // Belt and braces: if the select is still empty when it's opened, try again.
+ var sel=$('agTool'); if(sel) sel.addEventListener('focus',function(){ if(!sel.options.length) boot(); });
+ });
})();