mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fixed unresponsive buttons for some plugins.
Edit and copy metadata buttons didn't work if plugins had whitespace in their filenames.
This commit is contained in:
@@ -672,8 +672,8 @@ function processURLParams() {
|
||||
hideElement(clone.getElementsByClassName('tag remove')[0]);
|
||||
}
|
||||
|
||||
clone.getElementsByClassName('editMetadata')[0].setAttribute('data-target', data.plugins[i].name);
|
||||
clone.getElementsByClassName('copyMetadata')[0].setAttribute('data-target', data.plugins[i].name);
|
||||
clone.getElementsByClassName('editMetadata')[0].setAttribute('data-target', clone.id);
|
||||
clone.getElementsByClassName('copyMetadata')[0].setAttribute('data-target', clone.id);
|
||||
clone.getElementsByClassName('clearMetadata')[0].setAttribute('data-target', clone.id);
|
||||
|
||||
if (data.plugins[i].messages && data.plugins[i].messages.length != 0) {
|
||||
|
||||
Reference in New Issue
Block a user