summaryrefslogtreecommitdiff
path: root/static/js/fullscreen.js
diff options
context:
space:
mode:
authorScott Ostler <scottbot9000@gmail.com>2010-10-24 22:07:37 -0400
committerScott Ostler <scottbot9000@gmail.com>2010-10-24 22:07:37 -0400
commitf4bdb335fb3bdae6cd82315917ebacfb939b665a (patch)
tree2c3a960e4d7b380b3f38fc6b3e8b1ffaff228cd1 /static/js/fullscreen.js
parent33955c93ae8050778c75c18756585a59103ea86f (diff)
parent8faf08aca6e0a251f13e7217487e6b18c463e02e (diff)
Merge branch 'master' of ssh://dump.fm/pichat/repo
Diffstat (limited to 'static/js/fullscreen.js')
-rw-r--r--static/js/fullscreen.js8
1 files changed, 6 insertions, 2 deletions
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() {