mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
more autoexpand iterations fixes
This commit is contained in:
2
boot.php
2
boot.php
@@ -70,7 +70,7 @@ require_once('include/security.php');
|
||||
|
||||
|
||||
define('PLATFORM_NAME', 'hubzilla');
|
||||
define('STD_VERSION', '10.3.66');
|
||||
define('STD_VERSION', '10.3.67');
|
||||
define('ZOT_REVISION', '6.0');
|
||||
|
||||
define('DB_UPDATE_VERSION', 1263);
|
||||
|
||||
@@ -223,6 +223,8 @@ $(document).ready(function() {
|
||||
const wrapper = document.getElementById('thread-wrapper-' + id);
|
||||
const parent = wrapper.closest('.generic-content-wrapper');
|
||||
|
||||
subWrapper.innerHTML = '';
|
||||
|
||||
parent.querySelectorAll('.thread-wrapper.wall-item-expanded').forEach(el => {
|
||||
el.classList.remove('wall-item-expanded', 'shadow');
|
||||
});
|
||||
@@ -1691,7 +1693,7 @@ const autoExpand = (function () {
|
||||
await new Promise(res => setTimeout(res, 700));
|
||||
}
|
||||
|
||||
} while (newButtonsFound && iteration <= maxIterations);
|
||||
} while (newButtonsFound && iteration < maxIterations);
|
||||
|
||||
console.log('Replies loaded!');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user