mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 21:29:58 +09:00
Issue 2442 minor fix.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11220 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
293ccb13af
commit
db0aa266bc
7 changed files with 17 additions and 17 deletions
|
|
@ -18,12 +18,12 @@ jQuery(function($){
|
|||
var $xGnb_li = $xGnb.find('>ul>li');
|
||||
$(window).resize(function(){
|
||||
setTimeout(function(){
|
||||
if($(window).width() >= 1024){ // Over than 1024px
|
||||
if($(window).width() >= 980){ // Over than 1024px
|
||||
$xGnb.height('auto').height($xBody.height());
|
||||
} else { // Less than 1024
|
||||
$xGnb.height('auto');
|
||||
}
|
||||
if($(window).width() < 1024 || $(window).width() > 1260){
|
||||
if($(window).width() < 980 || $(window).width() > 1240){
|
||||
$xBody.removeClass('wide');
|
||||
}
|
||||
}, 100);
|
||||
|
|
@ -72,7 +72,7 @@ jQuery(function($){
|
|||
}
|
||||
$xGnb
|
||||
.mouseenter(function(){ // Mouseenter
|
||||
if($(window).width() >= 1024){
|
||||
if($(window).width() >= 980){
|
||||
setTimeout(function(){
|
||||
$xBody.removeClass('wide');
|
||||
contentBugFix();
|
||||
|
|
@ -80,7 +80,7 @@ jQuery(function($){
|
|||
}
|
||||
})
|
||||
.mouseleave(function(){ // Mouseleave
|
||||
if($(window).width() >= 1024 && $(window).width() < 1260){
|
||||
if($(window).width() >= 980 && $(window).width() < 1240){
|
||||
$xBody.addClass('wide');
|
||||
contentBugFix();
|
||||
}
|
||||
|
|
|
|||
8
modules/admin/tpl/js/admin.min.js
vendored
8
modules/admin/tpl/js/admin.min.js
vendored
|
|
@ -18,12 +18,12 @@ jQuery(function($){
|
|||
var $xGnb_li = $xGnb.find('>ul>li');
|
||||
$(window).resize(function(){
|
||||
setTimeout(function(){
|
||||
if($(window).width() >= 1024){ // Over than 1024px
|
||||
if($(window).width() >= 980){ // Over than 1024px
|
||||
$xGnb.height('auto').height($xBody.height());
|
||||
} else { // Less than 1024
|
||||
$xGnb.height('auto');
|
||||
}
|
||||
if($(window).width() < 1024 || $(window).width() > 1260){
|
||||
if($(window).width() < 980 || $(window).width() > 1240){
|
||||
$xBody.removeClass('wide');
|
||||
}
|
||||
}, 100);
|
||||
|
|
@ -72,7 +72,7 @@ jQuery(function($){
|
|||
}
|
||||
$xGnb
|
||||
.mouseenter(function(){ // Mouseenter
|
||||
if($(window).width() >= 1024){
|
||||
if($(window).width() >= 980){
|
||||
setTimeout(function(){
|
||||
$xBody.removeClass('wide');
|
||||
contentBugFix();
|
||||
|
|
@ -80,7 +80,7 @@ jQuery(function($){
|
|||
}
|
||||
})
|
||||
.mouseleave(function(){ // Mouseleave
|
||||
if($(window).width() >= 1024 && $(window).width() < 1260){
|
||||
if($(window).width() >= 980 && $(window).width() < 1240){
|
||||
$xBody.addClass('wide');
|
||||
contentBugFix();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue