From: Eduardo Lundgren Date: Thu, 26 Jun 2008 03:59:55 +0000 (+0000) Subject: css method - change class id name for generated div X-Git-Tag: 1.5.1~21 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2b7100d9dd70f428270c53718771e97580da2ca5;p=jquery-ui.git css method - change class id name for generated div --- diff --git a/ui/ui.core.js b/ui/ui.core.js index eaffb20ca..ff8dec8b4 100644 --- a/ui/ui.core.js +++ b/ui/ui.core.js @@ -32,7 +32,7 @@ $.ui = { cssCache: {}, css: function(name) { if ($.ui.cssCache[name]) { return $.ui.cssCache[name]; } - var tmp = $('
').addClass(name).css({position:'absolute', top:'-5000px', left:'-5000px', display:'block'}).appendTo('body'); + var tmp = $('
').addClass(name).css({position:'absolute', top:'-5000px', left:'-5000px', display:'block'}).appendTo('body'); //if (!$.browser.safari) //tmp.appendTo('body');