From 2f166037d567f7215cb7799419da32a74a5d19fe Mon Sep 17 00:00:00 2001 From: dumpfmprod Date: Sun, 24 Oct 2010 20:41:34 -0400 Subject: sostler prod commit --- static/js/fullscreen.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'static/js/fullscreen.js') diff --git a/static/js/fullscreen.js b/static/js/fullscreen.js index 808c138..dde23f3 100644 --- a/static/js/fullscreen.js +++ b/static/js/fullscreen.js @@ -1,5 +1,5 @@ -function initFullscreen(){ - Room = "dumpfm"; +function initFullscreen(room){ + Room = room || "dumpfm"; refresh(); ImageCache = []; SeenImages = {}; @@ -56,6 +56,10 @@ function displayImage(){ $('#fav-indicator').show(); else $('#fav-indicator').hide(); + if (DoPrint !== undefined && DoPrint) { + jsPrintSetup.setSilentPrint(true); + jsPrintSetup.print(); + } } function refresh() { -- cgit v1.2.3-70-g09d2