diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-31 09:31:39 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-31 09:35:55 +0200 |
commit | a384b4a97a2a4444d8e2c831765dbf35c8da0db2 (patch) | |
tree | 2bd6a62f0707c85fa9bb9322e1aea90a3b0f4305 /core/src/jquery | |
parent | 0f8aca9d87db9022fe942a3d3fbb11433e152676 (diff) | |
download | nextcloud-server-a384b4a97a2a4444d8e2c831765dbf35c8da0db2.tar.gz nextcloud-server-a384b4a97a2a4444d8e2c831765dbf35c8da0db2.zip |
Bump @nextcloud/eslint-config and peers
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src/jquery')
-rw-r--r-- | core/src/jquery/ocdialog.js | 2 | ||||
-rw-r--r-- | core/src/jquery/showpassword.js | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/core/src/jquery/ocdialog.js b/core/src/jquery/ocdialog.js index 7e570d77f52..e08db2530e3 100644 --- a/core/src/jquery/ocdialog.js +++ b/core/src/jquery/ocdialog.js @@ -203,7 +203,7 @@ $.widget('oc.ocdialog', { lessHeight += this.$buttonrow.outerHeight(true) } this.element.css({ - 'height': 'calc(100% - ' + lessHeight + 'px)', + height: 'calc(100% - ' + lessHeight + 'px)', }) }, _createOverlay() { diff --git a/core/src/jquery/showpassword.js b/core/src/jquery/showpassword.js index 553f6e15df1..ac0a9556ae8 100644 --- a/core/src/jquery/showpassword.js +++ b/core/src/jquery/showpassword.js @@ -39,7 +39,7 @@ $.fn.extend({ showPassword(c) { // Setup callback object - const callback = { 'fn': null, 'args': {} } + const callback = { fn: null, args: {} } callback.fn = c // Clones passwords and turn the clones into text inputs @@ -52,13 +52,13 @@ $.fn.extend({ // Name added for JQuery Validation compatibility // Element name is required to avoid script warning. $clone.attr({ - 'type': 'text', - 'class': $element.attr('class'), - 'style': $element.attr('style'), - 'size': $element.attr('size'), - 'name': $element.attr('name') + '-clone', - 'tabindex': $element.attr('tabindex'), - 'autocomplete': 'off', + type: 'text', + class: $element.attr('class'), + style: $element.attr('style'), + size: $element.attr('size'), + name: $element.attr('name') + '-clone', + tabindex: $element.attr('tabindex'), + autocomplete: 'off', }) if ($element.attr('placeholder') !== undefined) { |