diff options
author | Jeffery To <jeffery.to@gmail.com> | 2009-06-26 15:44:31 +0800 |
---|---|---|
committer | Jeffery To <jeffery.to@gmail.com> | 2009-06-26 15:44:31 +0800 |
commit | 612a107e09619b92d4614e2f3076ddca5c65824c (patch) | |
tree | 250fd003d4a6e27b91b73fa108e9ec4ed9bebc6e /js/userdesign.go.js | |
parent | 280f8faab4f692ff7f4389f82397adfa6db56325 (diff) | |
parent | 97ee517680979bf12e82eab99ecf943712fe97c9 (diff) |
Merge branch '0.8.x' into small-fixes
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 +}); |