mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +00:00
Move table JS outside of scrolling
This commit is contained in:
parent
5fbb340339
commit
5bd05b194d
3
docs/_static/custom.js
vendored
3
docs/_static/custom.js
vendored
@ -28,6 +28,8 @@ $(document).ready(function () {
|
||||
activeLink.parent().addClass('active');
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
const tables = document.querySelectorAll('.py-attribute-table[data-move-to-id]');
|
||||
tables.forEach(table => {
|
||||
let element = document.getElementById(table.getAttribute('data-move-to-id'));
|
||||
@ -36,4 +38,3 @@ $(document).ready(function () {
|
||||
parent.insertBefore(table, element.nextSibling);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user