Remove refresh button
This commit is contained in:
parent
0839c730ff
commit
08a97c7d7f
3 changed files with 0 additions and 56 deletions
|
@ -125,7 +125,6 @@ $(function () {
|
|||
card = $(card);
|
||||
|
||||
var href = card.find('.content [href]').prop('href');
|
||||
var refresh = card.find('button.refresh');
|
||||
|
||||
if (!href) {
|
||||
return;
|
||||
|
@ -156,22 +155,8 @@ $(function () {
|
|||
|
||||
$('.ui.dropdown').dropdown();
|
||||
});
|
||||
|
||||
refresh.removeClass('working');
|
||||
}
|
||||
|
||||
/**
|
||||
* Refresh
|
||||
*/
|
||||
$(document).on('click', '.ui.button.refresh', function (event) {
|
||||
var button = $(event.currentTarget);
|
||||
var card = button.closest('.ui.card');
|
||||
|
||||
button.addClass('working');
|
||||
|
||||
generateCacheCard(card);
|
||||
});
|
||||
|
||||
/**
|
||||
* Delete Wishlist
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue