load expanded buttons only for contact form

This commit is contained in:
Christophe Robillard 2020-09-17 13:23:34 +02:00
parent 5bd4644c2c
commit 8baaee8810

View file

@ -101,6 +101,7 @@ ButtonExpand.prototype.handleBlur = function () {
/* Initialize Hide/Show Buttons */
if (document.querySelector('#contact-form')) {
window.addEventListener(
'load',
function () {
@ -120,3 +121,4 @@ window.addEventListener(
},
false
);
}