Buttons more matching throughout the site

This commit is contained in:
Kasper Rynning-Tønnesen
2017-06-16 20:17:18 +02:00
parent 67ab79aa68
commit 4595a70239
7 changed files with 26 additions and 16 deletions

View File

@@ -924,7 +924,7 @@ hide mdi-action-visibility mdi-action-visibility-off
}
.listen-button, .contact-button-submit{
/*.listen-button, .contact-button-submit{
background: none;
border: none;
background-size: auto;
@@ -980,6 +980,12 @@ hide mdi-action-visibility mdi-action-visibility-off
border-bottom:1px solid #2D2D2D;
border-radius: 2px;
text-shadow:rgba(0,0,0,0) 0px 0px 0px;
}*/
.listen-button {
background: #2d2d2d !important;
display: flex;
justify-content: center;
}
.cursor-pointer{

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -244,16 +244,6 @@ var Helper = {
};
$(document).on('submit', '#contact-form', function(e){
e.preventDefault();
var message = $("#contact-form-message").val();
var from = $("#contact-form-from").val();
Helper.send_mail(from, message);
});
Element.prototype.remove = function() {
this.parentElement.removeChild(this);
};

View File

@@ -1570,6 +1570,20 @@ $(document).on( "click", ".result-object", function(e){
}
});
$(document).on('click', '#submit-contact-form', function(e) {
e.preventDefault();
$("#contact-form").submit();
});
$(document).on('submit', '#contact-form', function(e){
e.preventDefault();
var message = $("#contact-form-message").val();
var from = $("#contact-form-from").val();
Helper.send_mail(from, message);
});
$(document).on( "click", "#add-many", function(e){
var id = $(this).attr("data-video-id");
var title = $(this).attr("data-video-title");