diff options
author | Sarven Capadisli <csarven@controlyourself.ca> | 2009-06-26 05:38:43 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@controlyourself.ca> | 2009-06-26 05:38:43 +0000 |
commit | 74d9b0f820c588f2959457e83aaf5b9d4f2ea399 (patch) | |
tree | e19f0808efdbc1f3247d9d1e38a5b43a1a8ef6df /js/userdesign.go.js | |
parent | 4a90c3c3adf3f91eac3f5d569caa11108f5f850f (diff) |
Removed unnecessary assignment to variable for background image on
Diffstat (limited to 'js/userdesign.go.js')
-rw-r--r-- | js/userdesign.go.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/userdesign.go.js b/js/userdesign.go.js index b54b492cc..833b19adc 100644 --- a/js/userdesign.go.js +++ b/js/userdesign.go.js @@ -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'}); }); -});
\ No newline at end of file +}); |