summaryrefslogtreecommitdiff
path: root/static/js/fullscreen.js
diff options
context:
space:
mode:
authorScott Ostler <scottbot9000@gmail.com>2010-08-23 16:02:56 -0400
committerScott Ostler <scottbot9000@gmail.com>2010-08-23 16:02:56 -0400
commit3e9161e16068b0347e26438de6fb0cb8692d8173 (patch)
tree69ba37589a40d215c61e9864ccdb9811e588e009 /static/js/fullscreen.js
parent82c08bc3cf6191146f10cc3cba605f5226281243 (diff)
parent5bc995cc19ea506b7b4888f849b4c1895547cf02 (diff)
Merge branch 'master' of ssh://dump.fm/pichat/repo
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
+}
+
+
+
+
+
+
+