mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-08 19:57:46 -04:00
Refine focus to support UWP apps
Former-commit-id: 4e258b93526bc68d9e3a9137c112b74a33c9c3de [formerly bbce0eb68a5fea7c631e84dd385078ac5f904a7e] [formerly cbf35ad957f8e88932b4bb01ab93df0dcedba924] [formerly 28d36ca19c8d2273a3a156cdb8f5c1eb2c708360 [formerly eeafabdd5ab5525c91e29b42cc05ab48b3bee3e3 [formerly fb2933b9d6cac84d0fbdd2620fe0b7f02ff9465d]]] Former-commit-id: 61826e1e388dafc3f335c636b827eb66e3000f30 [formerly 05c29d8f1fce2e3487148c6814e5fb3207733a21 [formerly 44ab26cdef7b82498a881004f6366c4327730b6f]] Former-commit-id: c07d7ee791d1b44d92abbc471f29649f6fb6dc4f [formerly 5c75a7db105f7f20917cf2b510ce3186e3486673] Former-commit-id: 9920350c566c2560a147d60c71f660cc7e167f0f
This commit is contained in:
parent
0f893948ea
commit
30d3ce9090
@ -756,8 +756,10 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'cache', 'images', 'sett
|
||||
document.getElementById('scrollbox').style.height = 0;
|
||||
document.getElementById('search-article').style.overflowY = 'hidden';
|
||||
setTimeout(function() {
|
||||
document.getElementById('articleContent').style.display = 'block';
|
||||
document.getElementById('articleContent').focus();
|
||||
if (appstate.target === 'iframe') {
|
||||
if (articleContainer) articleContainer.style.display = 'block';
|
||||
if (articleWindow) articleWindow.focus();
|
||||
}
|
||||
}, 50);
|
||||
}
|
||||
$("#articleList").empty();
|
||||
|
Loading…
x
Reference in New Issue
Block a user