mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Reference $(this) instead
This commit is contained in:
parent
0cd29e00d1
commit
eb1cf58d11
1 changed files with 1 additions and 1 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue