summaryrefslogtreecommitdiff
path: root/js/userdesign.go.js
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2009-06-26 15:44:31 +0800
committerJeffery To <jeffery.to@gmail.com>2009-06-26 15:44:31 +0800
commit612a107e09619b92d4614e2f3076ddca5c65824c (patch)
tree250fd003d4a6e27b91b73fa108e9ec4ed9bebc6e /js/userdesign.go.js
parent280f8faab4f692ff7f4389f82397adfa6db56325 (diff)
parent97ee517680979bf12e82eab99ecf943712fe97c9 (diff)
Merge branch '0.8.x' into small-fixes
Diffstat (limited to 'js/userdesign.go.js')
-rw-r--r--js/userdesign.go.js5
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
+});