mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
webui: copy apikey to clipboard button (#12884)
This commit is contained in:

committed by
GitHub

parent
d006150627
commit
f84f492d43
@@ -1367,6 +1367,13 @@ function bindUIButtons() {
|
||||
return false;
|
||||
});
|
||||
|
||||
$('#api-key-copy-button').click(function () {
|
||||
var apiKey = api.key;
|
||||
if (apiKey !== null || apiKey !== undefined) {
|
||||
copyToClipboard(apiKey);
|
||||
}
|
||||
});
|
||||
|
||||
$('#jackett-add-indexer').click(function () {
|
||||
$("#modals").empty();
|
||||
displayUnconfiguredIndexersList();
|
||||
|
Reference in New Issue
Block a user