Skip to content

Commit e2baa90

Browse files
bbondyyurydelendik
authored andcommitted
Bug 815475 - Fix pfjs when there is no integrated findbar (pdfjs 0.6.39 broke Firefox metro)
1 parent 914f4dc commit e2baa90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extensions/firefox/components/PdfStreamConverter.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ ChromeActions.prototype = {
348348
// Integrated find is only supported when we're not in a frame and when the
349349
// new find events code exists.
350350
return this.domWindow.frameElement === null &&
351+
getChromeWindow(this.domWindow).gFindBar &&
351352
'updateControlState' in getChromeWindow(this.domWindow).gFindBar;
352353
},
353354
fallback: function(url, sendResponse) {

0 commit comments

Comments
 (0)