Improve readability
This commit is contained in:
parent
e0aaa21bd8
commit
b8493629ae
|
@ -58,8 +58,8 @@ $(document).ready(function () {
|
|||
|
||||
// remove trusted server from list
|
||||
$( "#listOfTrustedServers" ).on('click', 'li > .icon-delete', function() {
|
||||
var id = $(this).parent().attr('id');
|
||||
var $this = $(this).parent();
|
||||
id = $this.attr('id');
|
||||
$.ajax({
|
||||
url: OC.generateUrl('/apps/federation/trusted-servers/' + id),
|
||||
type: 'DELETE',
|
||||
|
|
Loading…
Reference in New Issue