From 5ce7a597d3bfae2b3f87c8e4053f44a288559c28 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 14 Feb 2013 13:18:49 +0530 Subject: [PATCH] hide print button --- static/viewer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/viewer.js b/static/viewer.js index d232a3b..232e51b 100644 --- a/static/viewer.js +++ b/static/viewer.js @@ -2721,6 +2721,7 @@ document.addEventListener('DOMContentLoaded', function webViewerLoad(evt) { //hide unused elements document.getElementById('openFile').setAttribute('hidden', 'true'); document.getElementById('viewBookmark').setAttribute('hidden', 'true'); + document.getElementById('print').setAttribute('hidden', 'true'); if (!window.File || !window.FileReader || !window.FileList || !window.Blob) { document.getElementById('openFile').setAttribute('hidden', 'true');