diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-04-08 21:26:12 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-04-08 21:26:12 +0200 |
commit | eb1cf58d11a6514261eb11abde37ed924cfa8a51 (patch) | |
tree | 5aa6fcfb338d6cbbfb7bb3435ab67627a554d75b /settings | |
parent | 0cd29e00d1040a32be95314178c77ec50c1dded3 (diff) | |
download | nextcloud-server-eb1cf58d11a6514261eb11abde37ed924cfa8a51.tar.gz nextcloud-server-eb1cf58d11a6514261eb11abde37ed924cfa8a51.zip |
Reference `$(this)` instead
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/apps.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index cd69fe1c28f..1bd7ffdf790 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -464,7 +464,7 @@ OC.Settings.Apps = OC.Settings.Apps || { }); $(document).on('click', '#enable-experimental-apps', function () { - var state = $('#enable-experimental-apps').prop('checked'); + var state = $(this).prop('checked') $.ajax(OC.generateUrl('settings/apps/experimental'), { data: {state: state}, type: 'POST', |