diff --git a/js/ui/components/autorunManager.js b/js/ui/components/autorunManager.js index 4a55a3a2a..b02474a1f 100644 --- a/js/ui/components/autorunManager.js +++ b/js/ui/components/autorunManager.js @@ -102,7 +102,7 @@ var ContentTypeDiscoverer = class { if (contentTypes.length === 0) { const root = mount.get_root(); const hotplugSniffer = new HotplugSniffer(); - [contentTypes] = hotplugSniffer.SniffURIAsync(root.get_uri()); + [contentTypes] = await hotplugSniffer.SniffURIAsync(root.get_uri()); } }