Skip to content
Snippets Groups Projects
Commit 41b9d4d9 authored by Robert Lange's avatar Robert Lange
Browse files

refs #18034 [finc] check for null in cart-finc

parent b3c40a33
No related merge requests found
/* #18034 - inform screen reader about changes, eventually intregrate by PR into bootstrap cart.js - RL */ /* #18034 - inform screen reader about changes, eventually intregrate by PR into bootstrap cart.js - RL */
$(document).ready(function() { $(document).ready(function() {
var cart = document.getElementById("cartSummary"); var cart = document.getElementById("cartSummary");
if (cart !== undefined) { if (cart != null) {
cart.setAttribute("aria-live", "polite"); cart.setAttribute("aria-live", "polite");
cart.setAttribute("aria-atomic", "true"); cart.setAttribute("aria-atomic", "true");
} }
......
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