|
@@ -176,11 +176,9 @@ function refreshUiOnResize() {
|
|
if (result) {
|
|
if (result) {
|
|
currentColor = $('body').css('background-color')
|
|
currentColor = $('body').css('background-color')
|
|
if (isDesktopDevice) {
|
|
if (isDesktopDevice) {
|
|
- console.log("is desktop");
|
|
|
|
$('nav').css('background-color', currentColor)
|
|
$('nav').css('background-color', currentColor)
|
|
$('#nav-container').css('background-color', color_bg)
|
|
$('#nav-container').css('background-color', color_bg)
|
|
} else {
|
|
} else {
|
|
- console.log("is NOT desktop");
|
|
|
|
$('nav').css('background-color', color_main)
|
|
$('nav').css('background-color', color_main)
|
|
$('#nav-container').css('background-color', currentColor)
|
|
$('#nav-container').css('background-color', currentColor)
|
|
}
|
|
}
|