We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ed676d commit b949c04Copy full SHA for b949c04
pies.html
@@ -63,7 +63,8 @@ <h1>Pies</h1>
63
window.addEventListener("DOMContentLoaded", function(e) {
64
const orderButtons = document.querySelectorAll("button[data-order]");
65
66
- [].forEach.call(orderButtons, function(button) {
+ orderButtons.forEach(function(button) {
67
+
68
button.addEventListener("click", function(e) {
69
const button = e.currentTarget;
70
const container = button.parentNode;
0 commit comments