Removed unnecessary assignment to variable for background image on
This commit is contained in:
parent
4a90c3c3ad
commit
74d9b0f820
@ -89,11 +89,10 @@ $(document).ready(function() {
|
||||
$('body').css({'background-image':'none'});
|
||||
});
|
||||
$('#design_background-image_on').focus(function() {
|
||||
var bis = $('#design_background-image_onoff img')[0].src;
|
||||
$('body').css({'background-image':'url('+bis+')'});
|
||||
$('body').css({'background-image':'url('+$('#design_background-image_onoff img')[0].src+')'});
|
||||
});
|
||||
|
||||
$('#design_background-image_repeat').click(function() {
|
||||
($(this)[0].checked) ? $('body').css({'background-repeat':'repeat'}) : $('body').css({'background-repeat':'no-repeat'});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user