Skip to content
Snippets Groups Projects
Commit e7d865c5 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

fix: safari not displaying cards bug fixed

parent 181a5a3d
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,9 @@ window.allowDrop = function(event) {
event.preventDefault();
}
window.rebuild_cards = function() {
$left_inner_container.replaceChildren();
while ($left_inner_container.firstChild) {
$left_inner_container.removeChild($left_inner_container.firstChild);
}
for (const card of window.cards) {
let card_el = create_card(card.icon, card.title, card.caption, card.link);
attach_card($left_inner_container, card_el);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment