Simplify a couple of preprocessor tags in viewer.js
This commit is contained in:
parent
bb16475070
commit
d53fa1884b
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user