Fix anchors issue when everything is collapsed
This commit is contained in:
parent
135f334e0a
commit
238583a50f
2 changed files with 23 additions and 10 deletions
|
@ -19,10 +19,11 @@ function onEach(arr, func) {
|
|||
if (arr && arr.length > 0 && func) {
|
||||
for (var i = 0; i < arr.length; i++) {
|
||||
if (func(arr[i]) === true) {
|
||||
break;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function updateLocalStorage(name, value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue