AJAX: theme selector: explicitly set wrapper div to 0 to prevent sidescrolling
authorDan
Sun, 22 Mar 2009 00:44:53 -0400
changeset 881 01810d32a0d6
parent 880 218b6d4de908
child 882 7a10590f58eb
AJAX: theme selector: explicitly set wrapper div to 0 to prevent sidescrolling
includes/clientside/static/ajax.js
--- a/includes/clientside/static/ajax.js	Sun Mar 22 00:44:09 2009 -0400
+++ b/includes/clientside/static/ajax.js	Sun Mar 22 00:44:53 2009 -0400
@@ -753,6 +753,7 @@
   $('body').append('<div id="theme-selector-wrapper"><div id="theme-selector-body"><div id="theme-selector-inner"><div class="theme-selector-spinner"></div></div></div></div>');
   $('#theme-selector-wrapper')
     .css('top', String(getScrollOffset()) + 'px')
+    .css('left', 0)
     .css('z-index', String( getHighestZ() + 20 ));
   
   $.get(stdAjaxPrefix + '&_mode=theme_list', {}, function(data, status)