Destruction of Require
This commit is contained in:
parent
276f4ccb3a
commit
3a23b6e36c
14 changed files with 27 additions and 24 deletions
|
@ -156,7 +156,7 @@ import 'css!./emby-scroller';
|
|||
};
|
||||
|
||||
function loadScrollButtons(scroller) {
|
||||
require(['emby-scrollbuttons'], function () {
|
||||
import('emby-scrollbuttons').then(() => {
|
||||
scroller.insertAdjacentHTML('beforebegin', '<div is="emby-scrollbuttons" class="emby-scrollbuttons padded-right"></div>');
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue