diff --git a/Neos.Media.Browser/Resources/Public/JavaScript/select.js b/Neos.Media.Browser/Resources/Public/JavaScript/select.js index 5aa77b035f4..aaf3b823f5d 100644 --- a/Neos.Media.Browser/Resources/Public/JavaScript/select.js +++ b/Neos.Media.Browser/Resources/Public/JavaScript/select.js @@ -55,7 +55,7 @@ window.addEventListener('DOMContentLoaded', () => { } const localAssetIdentifier = asset.dataset.localAssetIdentifier; - if (localAssetIdentifier !== '' && !NeosCMS.isNil(localAssetIdentifier)) { + if (localAssetIdentifier !== '' && !NeosCMS.Helper.isNil(localAssetIdentifier)) { NeosMediaBrowserCallbacks.assetChosen(localAssetIdentifier); } else { if (asset.dataset.importInProcess !== 'true') {