diff --git a/js/functions.js b/js/functions.js index 008dcf2f6e..9eb12442f9 100644 --- a/js/functions.js +++ b/js/functions.js @@ -3116,8 +3116,12 @@ $(document).ready(function() { /** * Theme selector. */ - $('a.themeselect').live('click',function(e) { - window.open(e.target + '?foo=bar', 'themes','left=10,top=20,width=510,height=350,scrollbars=yes,status=yes,resizable=yes'); + $('a.themeselect').live('click', function(e) { + window.open( + e.target, + 'themes', + 'left=10,top=20,width=510,height=350,scrollbars=yes,status=yes,resizable=yes' + ); return false; });