Merge branch 'master' into migrate-to-ES6-58

This commit is contained in:
Cameron
2020-08-07 09:29:15 +01:00
committed by GitHub
57 changed files with 3305 additions and 3026 deletions
+1
View File
@@ -153,6 +153,7 @@ define(['require', 'dom', 'focusManager', 'dialogHelper', 'loading', 'apphost',
function centerFocus(elem, horiz, on) {
require(['scrollHelper'], function (scrollHelper) {
scrollHelper = scrollHelper.default || scrollHelper;
var fn = on ? 'on' : 'off';
scrollHelper.centerFocus[fn](elem, horiz);
});