diff options
-rw-r--r-- | examples/shop/fulfillment.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shop/fulfillment.php b/examples/shop/fulfillment.php index b68685b3..b06f2bd7 100644 --- a/examples/shop/fulfillment.php +++ b/examples/shop/fulfillment.php @@ -18,7 +18,7 @@ function cb() { document.body.style.display = ""; } - document.addEvent("DOMContentLoaded", cb, false); + document.addEventListener("DOMContentLoaded", cb, false); } </script> </head> |