diff --git a/www/common/toolbar3.js b/www/common/toolbar3.js index 4e07d25d6..549b29fde 100644 --- a/www/common/toolbar3.js +++ b/www/common/toolbar3.js @@ -440,7 +440,7 @@ define([ }; var createFileShare = function (toolbar) { - throw new Error('TODO: Update createFileShare to add "embed" and work in secure iframes'); + try { throw new Error('TODO: Update createFileShare to add "embed" and work in secure iframes'); } catch (e) { return; } if (!window.location.hash) { throw new Error("Unable to display the share button: hash required in the URL"); }