Migrate scrollHelper to ES6
This commit is contained in:
@@ -376,7 +376,7 @@ import 'scrollStyles';
|
||||
}
|
||||
|
||||
function centerFocus(elem, horiz, on) {
|
||||
import('scrollHelper').then(scrollHelper => {
|
||||
import('scrollHelper').then((scrollHelper) => {
|
||||
const fn = on ? 'on' : 'off';
|
||||
scrollHelper.centerFocus[fn](elem, horiz);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user