diff options
author | Stefan Weil <sw@weilnetz.de> | 2018-10-19 11:23:33 +0200 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2018-10-19 11:24:24 +0200 |
commit | 2ad38200fbad6a21403a1addaa65deab72741760 (patch) | |
tree | 94265101976cc7d49429a06483987dec3492d76d /core/js | |
parent | a1ea504edf529a364be9b66fda5d100d62dcc0b9 (diff) | |
download | nextcloud-server-2ad38200fbad6a21403a1addaa65deab72741760.tar.gz nextcloud-server-2ad38200fbad6a21403a1addaa65deab72741760.zip |
Add missing semicolons
This fixes some recommendations from LGTM:
Avoid automated semicolon insertion (90% of all statements
in the enclosing function have an explicit semicolon).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/sharedialoglinkshareview.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index 995ff480aa6..aac4843c8e0 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -114,7 +114,7 @@ }); clipboard.on('error', function (e) { var $menu = $(e.trigger); - var $linkTextMenu = $menu.parent().next('li.linkTextMenu') + var $linkTextMenu = $menu.parent().next('li.linkTextMenu'); var $input = $linkTextMenu.find('.linkText'); var actionMsg = ''; @@ -393,8 +393,8 @@ var isLinkShare = this.model.get('linkShare').isLinkShare; var isPasswordSet = !!this.model.get('linkShare').password; - var isPasswordEnforced = this.configModel.get('enforcePasswordForPublicLink') - var isPasswordEnabledByDefault = this.configModel.get('enableLinkPasswordByDefault') === true + var isPasswordEnforced = this.configModel.get('enforcePasswordForPublicLink'); + var isPasswordEnabledByDefault = this.configModel.get('enableLinkPasswordByDefault') === true; var showPasswordCheckBox = isLinkShare && ( !this.configModel.get('enforcePasswordForPublicLink') || !this.model.get('linkShare').password); |