-
-
-
+
diff --git a/js/init.js b/js/init.js
index a26e234..1e1ad59 100755
--- a/js/init.js
+++ b/js/init.js
@@ -156,48 +156,12 @@
});
/*----------------------------------------------------*/
-/* contact form
+/* contact
------------------------------------------------------*/
-
- $('form#contactForm button.submit').click(function() {
-
- $('#image-loader').fadeIn();
-
- var contactName = $('#contactForm #contactName').val();
- var contactEmail = $('#contactForm #contactEmail').val();
- var contactSubject = $('#contactForm #contactSubject').val();
- var contactMessage = $('#contactForm #contactMessage').val();
-
- var data = 'contactName=' + contactName + '&contactEmail=' + contactEmail +
- '&contactSubject=' + contactSubject + '&contactMessage=' + contactMessage;
-
- $.ajax({
-
- type: "POST",
- url: "inc/sendEmail.php",
- data: data,
- success: function(msg) {
-
- // Message was sent
- if (msg == 'OK') {
- $('#image-loader').fadeOut();
- $('#message-warning').hide();
- $('#contactForm').fadeOut();
- $('#message-success').fadeIn();
- }
- // There was an error
- else {
- $('#image-loader').fadeOut();
- $('#message-warning').html(msg);
- $('#message-warning').fadeIn();
- }
-
- }
-
- });
- return false;
- });
-
+
+ // Adapt Riot logo to format of fontawesome icons
+ var faHeight = document.getElementById('contact-fa').clientHeight * 1.3;
+ document.getElementById('contact-riot-logo').setAttribute("style","height:"+faHeight+"px; width:"+faHeight+"px");
});