Removed redundant selector from JS
This commit is contained in:
parent
bb04f68e93
commit
9fc8ad4531
|
@ -11,7 +11,7 @@ $(document).ready(function() {
|
||||||
C = $(S).val();
|
C = $(S).val();
|
||||||
switch (parseInt(S.id.slice(-1))) {
|
switch (parseInt(S.id.slice(-1))) {
|
||||||
case 1: default:
|
case 1: default:
|
||||||
$('html, body').css({'background-color':C});
|
$('body').css({'background-color':C});
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
$('#content, #site_nav_local_views .current a').css({'background-color':C});
|
$('#content, #site_nav_local_views .current a').css({'background-color':C});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user