aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorJeroen <jeroenpraat@xs4all.nl>2014-07-27 21:44:34 +0000
committerJeroen <jeroenpraat@xs4all.nl>2014-07-27 21:44:34 +0000
commit075fc6727762d4e45ddcae5843eec0100ad3ab72 (patch)
tree26c5b8b5c8064b0670510009d42f7b0ffac6c63d /view/js
parent73a0d8b5a7079e960717c46014b9255e16356ad2 (diff)
downloadvolse-hubzilla-075fc6727762d4e45ddcae5843eec0100ad3ab72.tar.gz
volse-hubzilla-075fc6727762d4e45ddcae5843eec0100ad3ab72.tar.bz2
volse-hubzilla-075fc6727762d4e45ddcae5843eec0100ad3ab72.zip
Improved photo view page. Added a delete button, stylized other button and rearangend divs a but. I even made a javascript function (copied is the right word). I changed the application (non-posts) font size (temporary) to 14px, same as button (btn) font size. I like to change all font sizes to 1.0rem (posts) and 0.8rem (application) in the near future, but I will test that first on my hub.
Diffstat (limited to 'view/js')
-rw-r--r--view/js/main.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js
index c803ad538..eeee9e3ab 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -156,6 +156,15 @@
}
}
+ function closeOpen(theID) {
+ if(document.getElementById(theID).style.display == "none") {
+ document.getElementById(theID).style.display = "block"
+ }
+ else {
+ document.getElementById(theID).style.display = "none"
+ }
+ }
+
function openMenu(theID) {
document.getElementById(theID).style.display = "block"
}