mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-08 11:48:26 -04:00
Explicitly focus articleContent after using buttons
Former-commit-id: 12872d345a85b9f109f3d1b9aff7115d3b7c83d0 [formerly da85fb2e051d0e071161379e94be29d3cf32ae88 [formerly f6aa20ff028e593c63e288b7dc7ca0f9fe10d03b]] Former-commit-id: aeea999af53ce067641ad54ea58d3ce211a0fd6b Former-commit-id: b3840d80568989ab6784e8bbf7b989f00975bee9
This commit is contained in:
parent
3b45a9a3dc
commit
27b8936a92
@ -757,6 +757,7 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'cache', 'images', 'sett
|
||||
document.getElementById('search-article').style.overflowY = 'hidden';
|
||||
setTimeout(function() {
|
||||
document.getElementById('articleContent').style.display = 'block';
|
||||
document.getElementById('articleContent').focus();
|
||||
}, 50);
|
||||
}
|
||||
$("#articleList").empty();
|
||||
|
Loading…
x
Reference in New Issue
Block a user