Commit cf42abfc authored by imac's avatar imac

[Bugfix]JIRA : Nap-33 -> Responsive contact page

parent 23d4e802
......@@ -6,7 +6,7 @@ $(function(){
$(document).find('a[href^="#"], .easyzoom a').click(function(e){
e.preventDefault();
});
$(document).find('.contact-form .open-filter').on('click', function(){
$(document).find('.contact-form .open-filter').on('click touchend', function(){
$('.contact-form form').slideToggle();
$(this).parent().toggleClass('on');
checkFilterContactWrapper();
......@@ -19,7 +19,7 @@ $(function(){
toggleHandler(toggle);
};
function toggleHandler(toggle) {
toggle.addEventListener( "click", function(e) {
toggle.addEventListener( "click touchend", function(e) {
var nav = $('.main-nav .nav-content');
//(this.classList.contains("is-active") === true) ? this.classList.remove("is-active") : this.classList.add("is-active");
$(".c-hamburger").toggleClass('is-active');
......@@ -81,7 +81,7 @@ $(function(){
$( ".c-hamburger" ).trigger( "click" );
});
var div = $('.nav-content');
$('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){
$('.footer-home-content').on('click touchend','.home-down:not(.scrolled)',function(e){
TweenMax.killTweensOf('.nav-content');
var mainHeight = $('.main').outerHeight();
$(this).addClass('scrolled');
......
......@@ -68,7 +68,7 @@ function selectZone(zone, initialClassDep, initialClassNum) {
window.selectedZone = zone;
}
function showMap(){
jQuery(document).find('.filter-wrapper .header-filter-contact .open-filter').on('click', function(){
jQuery(document).find('.filter-wrapper .header-filter-contact .open-filter').on('click touchend', function(){
var toggleButton = $(this).parent();
toggleButton.toggleClass('on');
$('.filter').appendMap();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment