diff --git a/src/js/scriptlets/epicker.js b/src/js/scriptlets/epicker.js index 16565d085..e455bb546 100644 --- a/src/js/scriptlets/epicker.js +++ b/src/js/scriptlets/epicker.js @@ -30,6 +30,12 @@ /******************************************************************************/ +if ( typeof vAPI !== 'object' || vAPI === null ) { + return; +} + +/******************************************************************************/ + const epickerId = vAPI.randomToken(); let epickerConnectionId;