Merge pull request #3497 from Snuffleupagus/regression-3447

Fixes regression that cause scrolling using spacebar to break in Firefox
This commit is contained in:
Yury Delendik 2013-07-20 06:59:22 -07:00
commit 12d9b6570b
2 changed files with 7 additions and 1 deletions

View File

@ -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>

View File

@ -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
}
});