mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
Fixed: Table pagers show correct loading icon
This commit is contained in:
parent
f30e7bc701
commit
c3d15015fe
@ -30,7 +30,12 @@ module.exports = Paginator.extend({
|
||||
return;
|
||||
}
|
||||
|
||||
target.closest('li i').addClass('icon-sonarr-spinner fa-spin');
|
||||
var icon = target.closest('li i');
|
||||
var iconClasses = icon.attr('class').match(/(?:^|\s)icon\-.+?(?:$|\s)/);
|
||||
var iconClass = $.trim(iconClasses[0]);
|
||||
|
||||
icon.removeClass(iconClass);
|
||||
icon.addClass('icon-sonarr-spinner fa-spin');
|
||||
|
||||
var label = target.attr('data-action');
|
||||
var ffLabels = this.fastForwardHandleLabels;
|
||||
|
Loading…
Reference in New Issue
Block a user