load expanded buttons only for contact form
This commit is contained in:
parent
5bd4644c2c
commit
8baaee8810
1 changed files with 20 additions and 18 deletions
|
@ -101,6 +101,7 @@ ButtonExpand.prototype.handleBlur = function () {
|
||||||
|
|
||||||
/* Initialize Hide/Show Buttons */
|
/* Initialize Hide/Show Buttons */
|
||||||
|
|
||||||
|
if (document.querySelector('#contact-form')) {
|
||||||
window.addEventListener(
|
window.addEventListener(
|
||||||
'load',
|
'load',
|
||||||
function () {
|
function () {
|
||||||
|
@ -120,3 +121,4 @@ window.addEventListener(
|
||||||
},
|
},
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue