mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Issue 2442 minor fix.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11218 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3ef0efd139
commit
4ab49a0f7f
2 changed files with 10 additions and 6 deletions
|
|
@ -22,12 +22,14 @@ jQuery(function($){
|
||||||
$xGnb.height('auto').height($xBody.height());
|
$xGnb.height('auto').height($xBody.height());
|
||||||
} else { // Less than 1024
|
} else { // Less than 1024
|
||||||
$xGnb.height('auto');
|
$xGnb.height('auto');
|
||||||
|
}
|
||||||
|
if($(window).width() < 1024 || $(window).width() > 1260){
|
||||||
$xBody.removeClass('wide');
|
$xBody.removeClass('wide');
|
||||||
}
|
}
|
||||||
},100);
|
}, 100);
|
||||||
}).resize();
|
}).resize();
|
||||||
// Trigger for GNB height resize
|
// Trigger for GNB height resize
|
||||||
$($xBody, $xContent, $xGnb).bind('click mouseenter mouseleave focusin focusout', function(){
|
$($xBody, $xContent, $xGnb).bind('click mouseover mouseout focus blur', function(){
|
||||||
$(window).resize();
|
$(window).resize();
|
||||||
});
|
});
|
||||||
// GNB Click toggle
|
// GNB Click toggle
|
||||||
|
|
@ -78,7 +80,7 @@ jQuery(function($){
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.mouseleave(function(){ // Mouseleave
|
.mouseleave(function(){ // Mouseleave
|
||||||
if($(window).width() >= 1024){
|
if($(window).width() >= 1024 && $(window).width() < 1260){
|
||||||
$xBody.addClass('wide');
|
$xBody.addClass('wide');
|
||||||
contentBugFix();
|
contentBugFix();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
8
modules/admin/tpl/js/admin.min.js
vendored
8
modules/admin/tpl/js/admin.min.js
vendored
|
|
@ -22,12 +22,14 @@ jQuery(function($){
|
||||||
$xGnb.height('auto').height($xBody.height());
|
$xGnb.height('auto').height($xBody.height());
|
||||||
} else { // Less than 1024
|
} else { // Less than 1024
|
||||||
$xGnb.height('auto');
|
$xGnb.height('auto');
|
||||||
|
}
|
||||||
|
if($(window).width() < 1024 || $(window).width() > 1260){
|
||||||
$xBody.removeClass('wide');
|
$xBody.removeClass('wide');
|
||||||
}
|
}
|
||||||
},100);
|
}, 100);
|
||||||
}).resize();
|
}).resize();
|
||||||
// Trigger for GNB height resize
|
// Trigger for GNB height resize
|
||||||
$($xBody, $xContent, $xGnb).bind('click mouseenter mouseleave focusin focusout', function(){
|
$($xBody, $xContent, $xGnb).bind('click mouseover mouseout focus blur', function(){
|
||||||
$(window).resize();
|
$(window).resize();
|
||||||
});
|
});
|
||||||
// GNB Click toggle
|
// GNB Click toggle
|
||||||
|
|
@ -78,7 +80,7 @@ jQuery(function($){
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.mouseleave(function(){ // Mouseleave
|
.mouseleave(function(){ // Mouseleave
|
||||||
if($(window).width() >= 1024){
|
if($(window).width() >= 1024 && $(window).width() < 1260){
|
||||||
$xBody.addClass('wide');
|
$xBody.addClass('wide');
|
||||||
contentBugFix();
|
contentBugFix();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue