mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-04-19 11:11:18 +00:00
Added guard if no recent updated features section
This commit is contained in:
parent
1c22165eff
commit
b65a47ee97
@ -112,6 +112,7 @@ function setAsDefault(value) {
|
||||
|
||||
function adjustVisibleElements() {
|
||||
const container = document.querySelector('.recent-features');
|
||||
if(!container) return;
|
||||
const subElements = Array.from(container.children);
|
||||
|
||||
let totalWidth = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user