(layout, zoneId, placedSet)
| 421 | } |
| 422 | |
| 423 | function applyZoneOrder(layout, zoneId, placedSet) { |
| 424 | if (!placedSet) return; |
| 425 | const ids = getZoneOrder(layout, zoneId); |
| 426 | if (!ids.length) return; |
| 427 | ids.forEach(cardId => { |
| 428 | if (placedSet.has(cardId)) return; |
| 429 | const card = $(cardId); |
| 430 | if (!card || layout[cardId] !== zoneId) return; |
| 431 | placeCardInZone(card, zoneId, { animate: false }); |
| 432 | placedSet.add(cardId); |
| 433 | }); |
| 434 | } |
| 435 | |
| 436 | // -------------------- responsive stash -------------------- |
| 437 | function stashSidebarCardsBeforeSmall() { |
no test coverage detected