mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
lint compliance
This commit is contained in:
parent
3d2a2da74e
commit
b3d5e04bb4
@ -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");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user