diff --git a/www/js/app.js b/www/js/app.js index e03e1f2e..f4c516e2 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -2178,12 +2178,15 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'cache', 'images', 'sett } if ('launchQueue' in window) { + console.debug('File Handling API is available'); launchQueue.setConsumer(function (launchParams) { // Nothing to do when the queue is empty. if (!launchParams.files.length) { + console.debug('Launch Queue is empty'); return; } // User launched app by double-clicking on file + console.debug('Processing NativeFileHandle for ' + launchParams); processNativeFileHandle(launchParams.files[0]); }); }