diff options
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js index cdba8a25d..919eb282a 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -262,6 +262,14 @@ function openClose(theID) { } } +function openCloseTR(theID) { + if(document.getElementById(theID).style.display == "table-row") { + document.getElementById(theID).style.display = "none"; + } else { + document.getElementById(theID).style.display = "table-row"; + } +} + function closeOpen(theID) { if(document.getElementById(theID).style.display == "none") { document.getElementById(theID).style.display = "block"; |