mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-05-01 03:14:33 +00:00
Buttons more matching throughout the site
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user