Skip to content

Commit 9bf3180

Browse files
committed
Merge pull request mozilla#2413 from yurydelendik/bug-815475
Bug 815475 - Fix pdfjs when there is no integrated findbar (pdfjs 0.6.39 ...
2 parents 914f4dc + e2baa90 commit 9bf3180

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)