Merge pull request #3497 from Snuffleupagus/regression-3447
Fixes regression that cause scrolling using spacebar to break in Firefox
This commit is contained in:
commit
12d9b6570b
@ -227,7 +227,11 @@ limitations under the License.
|
||||
data-l10n-id="page_rotate_cw" ></menuitem>
|
||||
</menu>
|
||||
|
||||
<!--#if (FIREFOX || MOZCENTRAL) -->
|
||||
<!-- <div id="viewerContainer"> -->
|
||||
<!--#else -->
|
||||
<div id="viewerContainer" tabindex="0">
|
||||
<!--#endif -->
|
||||
<div id="viewer" contextmenu="viewerContextMenu"></div>
|
||||
</div>
|
||||
|
||||
|
@ -950,7 +950,9 @@ var PDFView = {
|
||||
// unless the viewer is embedded in another page.
|
||||
if (window.parent === window) {
|
||||
PDFView.container.focus();
|
||||
PDFView.container.blur();
|
||||
//#if (FIREFOX || MOZCENTRAL)
|
||||
// PDFView.container.blur();
|
||||
//#endif
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user