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

fix some unhandled promises and refactor some code

This commit is contained in:
dkanada 2021-02-06 15:51:31 +09:00
parent d7161f9d65
commit df599db415
9 changed files with 8 additions and 23 deletions

View file

@ -11,7 +11,6 @@ import '../../elements/emby-input/emby-input';
import '../formdialog.css';
import template from './prompt.template.html';
/* eslint-disable indent */
export default (() => {
function replaceAll(str, find, replace) {
return str.split(find).join(replace);
@ -127,4 +126,3 @@ export default (() => {
};
}
})();
/* eslint-enable indent */