From 0791d4f2c2152c4e88ba6c4527fe354667cacf45 Mon Sep 17 00:00:00 2001 From: dumpfmprod Date: Sun, 22 Aug 2010 19:48:17 -0400 Subject: sostler prod commit --- static/js/fullscreen.js | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'static/js/fullscreen.js') 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 +} + + + + + + + -- cgit v1.2.3-70-g09d2