* js/attachment.js:
* template/en/custom/attachment/patchlegalese.html.tmpl:
- Use 'display: none;' and 'display: table-row;' instead of
'visibility: collapse;' and 'visibility: visible;' to hide and
show the text.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@174771
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
// if WEBKIT_CHANGES
if (isdisabled) {
- document.getElementById('legal').style.visibility = "visible";
+ document.getElementById('legal').style.display = "table-row";
document.getElementById('create').value = "Agree and Submit";
} else {
document.getElementById('create').value = "Submit";
- document.getElementById('legal').style.visibility = "collapse";
+ document.getElementById('legal').style.display = "none";
}
// endif WEBKIT_CHANGES
}
[%# if WEBKIT_CHANGES %]
[% IF (product == "WebKit" || product == "Security") %]
- <tr id="legal" style="visibility: collapse;">
+ <tr id="legal" style="display: none;">
<th>Legal:</th>
<td>
<b>WebKit Contribution Terms:</b><br/>