mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Bug 815475 - Fix pfjs when there is no integrated findbar (pdfjs 0.6.39 broke Firefox metro)
This commit is contained in:
parent
914f4dc703
commit
e2baa902c6
1 changed files with 1 additions and 0 deletions
|
@ -348,6 +348,7 @@ ChromeActions.prototype = {
|
|||
// Integrated find is only supported when we're not in a frame and when the
|
||||
// new find events code exists.
|
||||
return this.domWindow.frameElement === null &&
|
||||
getChromeWindow(this.domWindow).gFindBar &&
|
||||
'updateControlState' in getChromeWindow(this.domWindow).gFindBar;
|
||||
},
|
||||
fallback: function(url, sendResponse) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue