Browse Source

Merge fix: don't open the file if passive mode is selected

Yury Delendik 13 years ago
parent
commit
68c298a409
  1. 1
      web/viewer.js

1
web/viewer.js

@ -1890,6 +1890,7 @@ document.addEventListener('DOMContentLoaded', function webViewerLoad(evt) {
//if (FirefoxCom.requestSync('getLoadingType') == 'passive') { //if (FirefoxCom.requestSync('getLoadingType') == 'passive') {
// PDFView.setTitleUsingUrl(file); // PDFView.setTitleUsingUrl(file);
// PDFView.initPassiveLoading(); // PDFView.initPassiveLoading();
// return;
//} //}
//#endif //#endif

Loading…
Cancel
Save