Add autofocus on page load

This commit is contained in:
Dmitry Lyzo 2019-11-02 20:38:58 +03:00
parent 88db651eea
commit 7a10be5933
24 changed files with 147 additions and 22 deletions

View file

@ -40,6 +40,10 @@ define(["loading", "components/groupedcards", "cardBuilder", "apphost", "imageLo
elem.innerHTML = html;
imageLoader.lazyChildren(elem);
loading.hide();
require(["autoFocuser"], function (autoFocuser) {
autoFocuser.autoFocus(context);
});
});
}