Commit e7d865c5 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

fix: safari not displaying cards bug fixed

parent 181a5a3d
Pipeline #35381 passed with stages
in 2 minutes and 4 seconds
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment