We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents df01185 + 7fc2040 commit c6893f8Copy full SHA for c6893f8
js/hackathon/HoneySpam/honeyspam.js
@@ -23,9 +23,6 @@
23
* @link http://www.magento-hackathon.de/
24
*/
25
26
-document.observe('dom:loaded', function () {
27
- var mhhsInput = $$('.mhhs-input');
28
- if (mhhsInput.length > 0) {
29
- mhhsInput.each(Element.hide);
30
- }
+document.addEventListener('DOMContentLoaded', function(event) {
+ document.querySelectorAll('.mhhs-input').forEach(e => e.style.display = 'none');
31
});
0 commit comments