Skip to content

Commit

Permalink
CONCD-1007 TypeError: element.attr is not a functions (#2627)
Browse files Browse the repository at this point in the history
  • Loading branch information
rasarkar authored Dec 6, 2024
1 parent d36caf9 commit 91f009f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concordia/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ <h2 class="text-center font-serif mb-4">Campaigns: <small>Choose which collectio
storage.setItem(banner.id, true);
var element = document.getElementById(banner.id);
element.classList.remove("d-flex");
element.attr("hidden", "hidden");
$(element).attr("hidden", "hidden");
}
});
</script>
Expand Down

0 comments on commit 91f009f

Please sign in to comment.