aboutsummaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-04-08 21:26:12 +0200
committerLukas Reschke <lukas@owncloud.com>2015-04-08 21:26:12 +0200
commiteb1cf58d11a6514261eb11abde37ed924cfa8a51 (patch)
tree5aa6fcfb338d6cbbfb7bb3435ab67627a554d75b /settings
parent0cd29e00d1040a32be95314178c77ec50c1dded3 (diff)
downloadnextcloud-server-eb1cf58d11a6514261eb11abde37ed924cfa8a51.tar.gz
nextcloud-server-eb1cf58d11a6514261eb11abde37ed924cfa8a51.zip
Reference `$(this)` instead
Diffstat (limited to 'settings')
-rw-r--r--settings/js/apps.js2
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',