mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
DEV: Update expand-table table query (#17347)
Instead of selecting the first table in the parent, we now select the first table after the selected <kbd>expand table</kbd> button
This commit is contained in:
parent
fb31ae04a7
commit
5c4c8d26c7
@ -157,7 +157,7 @@ export default {
|
||||
}
|
||||
|
||||
function generateModal(event) {
|
||||
const table = event.target.parentNode.querySelector("table");
|
||||
const table = event.target.nextElementSibling;
|
||||
const tempTable = table.cloneNode(true);
|
||||
|
||||
showModal("fullscreen-table").set("tableHtml", tempTable);
|
||||
|
Loading…
x
Reference in New Issue
Block a user