From 74d9b0f820c588f2959457e83aaf5b9d4f2ea399 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Fri, 26 Jun 2009 05:38:43 +0000 Subject: [PATCH] Removed unnecessary assignment to variable for background image on --- js/userdesign.go.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/userdesign.go.js b/js/userdesign.go.js index b54b492cce..833b19adcb 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 +});