# HG changeset patch # User HIROSE Yuuji # Date 1589322655 -32400 # Node ID 42bf03cb37129097e1504444654be3bdda2ab1a5 # Parent 4d580bd8c47fd83058a1b25bdfdaf0bd9250280f Enlarge div of form field when bring them visible diff -r 4d580bd8c47f -r 42bf03cb3712 s4-main.js --- a/s4-main.js Tue May 12 11:31:50 2020 +0900 +++ b/s4-main.js Wed May 13 07:30:55 2020 +0900 @@ -81,6 +81,10 @@ var emailbtn = document.getElementById("email"); emailbtn.addEventListener("click", function(ev){ if (!ev.target.checked) return; + var x = collectElementsByAttr("div", "class", "foldtabs"); + if (x && x[0] && x[0].style) { + x[0].style.height = "10em"; + } let myuid = document.getElementById("myuid"); if (myuid) { let usel = collectElementsByAttr("input", "name", "usel");