fix removing broken radio stations from fav

This commit is contained in:
Jonas Heinrich 2018-10-10 13:06:00 +02:00
parent a6e5a2c4bb
commit b36d7f2677
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
## 0.6.4 2018-XX
### Fixed
- Fix issue removing broken radio stations from fav
[#76](https://git.project-insanity.org/onny/nextcloud-app-radio/issues/76) @onny
## 0.6.3 2018-09-08
### Fixed
- Fix table size issues for mobile clients

View File

@ -157,7 +157,7 @@ var MODULE = (function (radio) {
}
};
$('tbody').append('<tr data-src='+station['url']+' data-id='+station['id']+'>\
$('tbody').append('<tr data-src="'+station['url']+'" data-id="'+station['id']+'">\
<td class="favcolumn">\
<a href="#" class="favorite">\
<span class="icon-stationfav ' + isstarred + '"></span>\
@ -191,6 +191,7 @@ var MODULE = (function (radio) {
$('#emptycontent').removeClass('hidden');
$('.loading').addClass('hidden');
} else {
console.log(stations);
radio.query_stations(stations);
};
});