diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-10-24 20:41:34 -0400 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-10-24 20:41:34 -0400 |
| commit | 2f166037d567f7215cb7799419da32a74a5d19fe (patch) | |
| tree | ca9e9616e021fd6bc7305db9c306540011d7d875 /static/js/fullscreen.js | |
| parent | fafbde26383e42858538046d4b2b3691e21bd898 (diff) | |
sostler prod commit
Diffstat (limited to 'static/js/fullscreen.js')
| -rw-r--r-- | static/js/fullscreen.js | 8 |
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() { |
