aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2017-09-15 22:17:18 +0200
committerMario <mario@mariovavti.com>2017-09-15 22:17:18 +0200
commit373651c3dbb9d6d79b9c5a1519a7ef336f2d615e (patch)
treed71bc0bb8ab6880f10df4684296189d401e96171 /view/js
parent663802e6992858c026a4e9b325575bc064cc687d (diff)
downloadvolse-hubzilla-373651c3dbb9d6d79b9c5a1519a7ef336f2d615e.tar.gz
volse-hubzilla-373651c3dbb9d6d79b9c5a1519a7ef336f2d615e.tar.bz2
volse-hubzilla-373651c3dbb9d6d79b9c5a1519a7ef336f2d615e.zip
implement wiki editing
Diffstat (limited to 'view/js')
-rw-r--r--view/js/main.js8
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";