1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Migration of alert to ES6 module

This commit is contained in:
Cameron 2020-07-15 14:46:56 +01:00
parent 1200617639
commit 45df6ef764
12 changed files with 20 additions and 16 deletions

View file

@ -128,7 +128,7 @@ import 'listViewStyle';
}
function showItemOverview(item) {
require(['alert'], function (alert) {
import('alert').then(({default: alert})=> {
alert({
text: item.Overview
});
@ -137,7 +137,6 @@ import 'listViewStyle';
class ActivityLog {
constructor(options) {
console.log(options)
this.options = options;
var element = options.element;
element.classList.add('activityLogListWidget');