From d53fa1884b473c38f16b8bfed20893f5ffbb65af Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sat, 31 Jan 2015 22:45:20 +0100 Subject: [PATCH] Simplify a couple of preprocessor tags in viewer.js --- web/viewer.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/web/viewer.js b/web/viewer.js index 6438d3f75..d8b62d1ba 100644 --- a/web/viewer.js +++ b/web/viewer.js @@ -320,8 +320,7 @@ var PDFViewerApplication = { get supportsIntegratedFind() { var support = false; -//#if !(FIREFOX || MOZCENTRAL) -//#else +//#if (FIREFOX || MOZCENTRAL) // support = FirefoxCom.requestSync('supportsIntegratedFind'); //#endif @@ -330,8 +329,7 @@ var PDFViewerApplication = { get supportsDocumentFonts() { var support = true; -//#if !(FIREFOX || MOZCENTRAL) -//#else +//#if (FIREFOX || MOZCENTRAL) // support = FirefoxCom.requestSync('supportsDocumentFonts'); //#endif @@ -340,8 +338,7 @@ var PDFViewerApplication = { get supportsDocumentColors() { var support = true; -//#if !(FIREFOX || MOZCENTRAL) -//#else +//#if (FIREFOX || MOZCENTRAL) // support = FirefoxCom.requestSync('supportsDocumentColors'); //#endif