css method - change class id name for generated div

This commit is contained in:
Eduardo Lundgren 2008-06-26 03:59:55 +00:00
parent 4b35b308a8
commit 2b7100d9dd

View File

@ -32,7 +32,7 @@ $.ui = {
cssCache: {},
css: function(name) {
if ($.ui.cssCache[name]) { return $.ui.cssCache[name]; }
var tmp = $('<div class="ui-resizable-gen">').addClass(name).css({position:'absolute', top:'-5000px', left:'-5000px', display:'block'}).appendTo('body');
var tmp = $('<div class="ui-gen">').addClass(name).css({position:'absolute', top:'-5000px', left:'-5000px', display:'block'}).appendTo('body');
//if (!$.browser.safari)
//tmp.appendTo('body');