aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/display-content-manager.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2024-02-19 07:30:17 -0500
committerGitHub <noreply@github.com>2024-02-19 12:30:17 +0000
commit2da866f982930c76d2317a3be426410683ecf5a2 (patch)
treee77ce545177ba398068cb63037096a56dea04e2c /ext/js/display/display-content-manager.js
parent65fa65fc7765bc9a6557d3ce6f8bdcef5b5e0cf7 (diff)
Update eslint rules (#710)
Diffstat (limited to 'ext/js/display/display-content-manager.js')
-rw-r--r--ext/js/display/display-content-manager.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/display/display-content-manager.js b/ext/js/display/display-content-manager.js
index 81742279..c61c3aca 100644
--- a/ext/js/display/display-content-manager.js
+++ b/ext/js/display/display-content-manager.js
@@ -49,7 +49,7 @@ export class DisplayContentManager {
* @param {import('display-content-manager').OnUnloadCallback} onUnload The callback that is executed when the media should be unloaded.
*/
loadMedia(path, dictionary, onLoad, onUnload) {
- this._loadMedia(path, dictionary, onLoad, onUnload);
+ void this._loadMedia(path, dictionary, onLoad, onUnload);
}
/**
@@ -65,7 +65,7 @@ export class DisplayContentManager {
for (const map of this._mediaCache.values()) {
for (const result of map.values()) {
- this._revokeUrl(result);
+ void this._revokeUrl(result);
}
}
this._mediaCache.clear();