summaryrefslogtreecommitdiff
path: root/static/js/fullscreen.js
diff options
context:
space:
mode:
authordumpfmprod <dumpfmprod@ubuntu.(none)>2010-08-22 19:48:17 -0400
committerdumpfmprod <dumpfmprod@ubuntu.(none)>2010-08-22 19:48:17 -0400
commit0791d4f2c2152c4e88ba6c4527fe354667cacf45 (patch)
treef4e196dda47d087179eb79dad333842a31123292 /static/js/fullscreen.js
parent802630b46375f391e8cbe0445d59e032ed64329c (diff)
sostler prod commit
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
+}
+
+
+
+
+
+
+