From: Sarven Capadisli Date: Fri, 26 Jun 2009 05:38:43 +0000 (+0000) Subject: Removed unnecessary assignment to variable for background image on X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=74d9b0f820c588f2959457e83aaf5b9d4f2ea399;p=quix0rs-gnu-social.git Removed unnecessary assignment to variable for background image on --- 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 +});