Skip to content

Commit

Permalink
Merge pull request #66 from adripo/patch-1
Browse files Browse the repository at this point in the history
fixed checkbox 'checked' property
  • Loading branch information
nickvergessen committed Mar 24, 2021
2 parents 42f94e9 + daaba70 commit 9fce4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/settings.js
Expand Up @@ -67,7 +67,7 @@
OCP.AppConfig.setValue(
'quota_warning',
$el.attr('id').substring(14),
$el.attr('checked') ? 'yes' : 'no',
$el.prop('checked') ? 'yes' : 'no',
{
success: function() {
OC.msg.finishedSuccess('#quota_warning_feedback', t('quota_warning', 'Saved!'));
Expand Down

0 comments on commit 9fce4e7

Please sign in to comment.