diff --git a/demos/chips.html b/demos/chips.html
index 55b577c99fa..37725cc4caa 100644
--- a/demos/chips.html
+++ b/demos/chips.html
@@ -254,9 +254,8 @@
Custom theme
entryInput.value = '';
}
};
- ['click', 'keydown'].forEach(function(evtType) {
- entryButton.addEventListener(evtType, addChip);
- });
+ entryButton.addEventListener('click', addChip);
+ entryInput.addEventListener('keydown', addChip);
});