mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update alerts
This commit is contained in:
parent
d74e699177
commit
3e161d7edb
11 changed files with 143 additions and 79 deletions
|
@ -34,10 +34,11 @@
|
|||
|
||||
if ($('#selectVideoDecoder', form).val()) {
|
||||
|
||||
Dashboard.alert({
|
||||
callback: onDecoderConfirmed,
|
||||
title: Globalize.translate('TitleHardwareAcceleration'),
|
||||
message: Globalize.translate('HardwareAccelerationWarning')
|
||||
require(['alert'], function (alert) {
|
||||
alert({
|
||||
title: Globalize.translate('TitleHardwareAcceleration'),
|
||||
text: Globalize.translate('HardwareAccelerationWarning')
|
||||
}).then(onDecoderConfirmed);
|
||||
});
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue