FEATURE: add notification after sending mail from contact form

This commit is contained in:
Michal Kváček
2016-10-02 14:46:54 +02:00
parent 0ace8c9cb6
commit c4d4ac2bfe
4 changed files with 39 additions and 1 deletions
@@ -25,6 +25,18 @@ $(function() {
}, 1000, 'easeInOutExpo');
event.preventDefault();
});
var notification = $ ('.notification');
if (notification.length) {
notification.click (function () {
$ (this).fadeOut ('fast');
});
setTimeout (function () {
notification.fadeOut (1500)
}, 5 * 1000)
}
});
// Closes the Responsive Menu on Menu Item Click