From b3d5e04bb4e61da4093e6d301556e33ea6b19c2c Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 5 Sep 2017 17:23:16 +0200 Subject: [PATCH] lint compliance --- www/common/toolbar3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }