Mercurial > hgrepos > hgweb.cgi > s4
changeset 673:42bf03cb3712
Enlarge div of form field when bring them visible
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 13 May 2020 07:30:55 +0900 |
parents | 4d580bd8c47f |
children | 2199d20249a8 |
files | s4-main.js |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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");