mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fixed global priority change UI update.
It was updating the wrong UI element.
This commit is contained in:
@@ -184,7 +184,7 @@ function Plugin(obj) {
|
||||
change.object.li.shadowRoot.getElementsByClassName('hasPriority')[0].title = this.getPriorityString();
|
||||
change.object.card.shadowRoot.getElementById('priorityValue').value = change.object[change.name];
|
||||
} else if (change.name == 'isGlobalPriority') {
|
||||
change.object.li.shadowRoot.getElementsByClassName('hasPriority')[0].title = this.getPriorityString();
|
||||
change.object.li.setAttribute('data-global-priority', change.object[change.name]);
|
||||
} else if (change.name == 'messages') {
|
||||
change.object.updateCardMessages();
|
||||
/* For messages, the card's messages need updating,
|
||||
|
||||
Reference in New Issue
Block a user