summaryrefslogtreecommitdiff
path: root/static/js/fullscreen.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/fullscreen.js')
-rw-r--r--static/js/fullscreen.js23
1 files changed, 22 insertions, 1 deletions
diff --git a/static/js/fullscreen.js b/static/js/fullscreen.js
index 2cce5a1..cf2d997 100644
--- a/static/js/fullscreen.js
+++ b/static/js/fullscreen.js
@@ -3,6 +3,20 @@ function initFullscreen(){
refresh()
ImageCache = []
SeenImages = {}
+ $('#tools-button').click(toolsToggle);
+}
+function toolsToggle(){
+ if ($("#msgInputDiv").css("display") == "none")
+ toolsShow()
+ else
+ toolsHide()
+}
+function toolsShow(){
+ $("#msgInputDiv").css("display", "block")
+
+}
+function toolsHide(){
+ $("#msgInputDiv").css("display", "none")
}
function scanMessagesForImages(messages){
@@ -47,4 +61,11 @@ function refresh() {
success: onSuccess,
error: onError
});
-} \ No newline at end of file
+}
+
+
+
+
+
+
+