parent
60be1d6def
commit
57bc51e65f
1 changed files with 2 additions and 2 deletions
|
|
@ -48,10 +48,10 @@ function renderTagsFollowed(user = userData()) {
|
|||
function renderSidebar() {
|
||||
const sidebarContainer = document.getElementById('sidebar-wrapper-right');
|
||||
|
||||
// If the screen's width is less than 1024px we don't need this extra data.
|
||||
// If the screen's width is less than 640 we don't need this extra data.
|
||||
if (
|
||||
sidebarContainer &&
|
||||
screen.width > 1023 &&
|
||||
screen.width >= 640 &&
|
||||
window.location.pathname === '/'
|
||||
) {
|
||||
window
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue