]> source.dussan.org Git - jquery-ui.git/commitdiff
css method - change class id name for generated div
authorEduardo Lundgren <eduardolundgren@gmail.com>
Thu, 26 Jun 2008 03:59:55 +0000 (03:59 +0000)
committerEduardo Lundgren <eduardolundgren@gmail.com>
Thu, 26 Jun 2008 03:59:55 +0000 (03:59 +0000)
ui/ui.core.js

index eaffb20ca5b1ffa4eab6af447f1cd77968bfce04..ff8dec8b4656ad2480b1d6d4830907e18c509a36 100644 (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');