From f2c747ce190e59abfac10834e5f5a2aa872104de Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Sat, 21 May 2022 23:37:30 +0300 Subject: [PATCH] Fix lint --- src/plugins/htmlVideoPlayer/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index 843b90ae5b..423e081a2b 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -38,7 +38,7 @@ import { getIncludeCorsCredentials } from '../../scripts/settings/webSettings'; */ function resolveUrl(url) { return new Promise((resolve) => { - var xhr = new XMLHttpRequest(); + const xhr = new XMLHttpRequest(); xhr.open('HEAD', url, true); xhr.onload = function () { resolve(xhr.responseURL || url);