mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-12-13 17:06:25 +00:00
Move setting of the default icon before the actual one
This commit is contained in:
parent
7cb83755e6
commit
9bf8731a59
@ -31,13 +31,15 @@ define(['globalize', 'connectionManager', 'require', 'loading', 'apphost', 'dom'
|
||||
function RecordingButton(options) {
|
||||
this.options = options;
|
||||
|
||||
var button = options.button;
|
||||
|
||||
setButtonIcon(button, 'fiber_manual_record');
|
||||
|
||||
if (options.item) {
|
||||
this.refreshItem(options.item);
|
||||
} else if (options.itemId && options.serverId) {
|
||||
this.refresh(options.itemId, options.serverId);
|
||||
}
|
||||
var button = options.button;
|
||||
setButtonIcon(button, 'fiber_manual_record');
|
||||
|
||||
var clickFn = onRecordingButtonClick.bind(this);
|
||||
this.clickFn = clickFn;
|
||||
|
Loading…
Reference in New Issue
Block a user