mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-03-02 12:01:01 +01:00
admin/plugins: Simplify jQuery search for plugin actions
This commit is contained in:
parent
973644c7dd
commit
2ddc45bf07
@ -220,8 +220,7 @@ $(document).ready(() => {
|
||||
|
||||
socket.on('results:updatable', (data) => {
|
||||
data.updatable.forEach((pluginName) => {
|
||||
const $row = $(`#installed-plugins > tr.${pluginName}`);
|
||||
const actions = $row.find('.actions');
|
||||
const actions = $(`#installed-plugins > tr.${pluginName} .actions`);
|
||||
actions.append('<input class="do-update" type="button" value="Update" />');
|
||||
});
|
||||
updateHandlers();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user