Improve readability

This commit is contained in:
Sergio Bertolín 2016-06-08 10:19:18 +00:00
parent e0aaa21bd8
commit b8493629ae
1 changed files with 1 additions and 1 deletions

View File

@ -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',