Merge pull request #4341 from Snuffleupagus/issue-4224-followup
Fix spacebar scrolling in Firefox (4224 follow-up)
This commit is contained in:
commit
544dce82e1
@ -2254,7 +2254,7 @@ window.addEventListener('keydown', function keydown(evt) {
|
|||||||
}
|
}
|
||||||
// 32=Spacebar
|
// 32=Spacebar
|
||||||
if (evt.keyCode === 32 && curElementTagName !== 'BUTTON') {
|
if (evt.keyCode === 32 && curElementTagName !== 'BUTTON') {
|
||||||
//#if !(FIREFOX || MOZCENTRAL)
|
//#if (FIREFOX || MOZCENTRAL)
|
||||||
//// Workaround for issue in Firefox, that prevents scroll keys from working
|
//// Workaround for issue in Firefox, that prevents scroll keys from working
|
||||||
//// when elements with 'tabindex' are focused. (#3499)
|
//// when elements with 'tabindex' are focused. (#3499)
|
||||||
// PDFView.container.blur();
|
// PDFView.container.blur();
|
||||||
|
Loading…
Reference in New Issue
Block a user