mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
admin/plugins: Don't keep adding more Update buttons
This commit is contained in:
parent
6a00d7f8d6
commit
aa41b0920c
1 changed files with 1 additions and 0 deletions
|
@ -221,6 +221,7 @@ $(document).ready(() => {
|
|||
socket.on('results:updatable', (data) => {
|
||||
data.updatable.forEach((pluginName) => {
|
||||
const actions = $(`#installed-plugins > tr.${pluginName} .actions`);
|
||||
actions.find('.do-update').remove();
|
||||
actions.append(
|
||||
$('<input>').addClass('do-update').attr('type', 'button').attr('value', 'Update'));
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue