]> source.dussan.org Git - jquery-ui.git/commitdiff
Dialog: Fixed creation of close button in IE.
authorScott González <scott.gonzalez@gmail.com>
Tue, 11 Jan 2011 19:34:17 +0000 (14:34 -0500)
committerScott González <scott.gonzalez@gmail.com>
Tue, 11 Jan 2011 19:34:17 +0000 (14:34 -0500)
Thanks dkiselev.

ui/jquery.ui.dialog.js

index 501772eb57b7933c6bfc05643eac559163723640..e2b8577238ecf8f0e915d71b916e12c422491485 100644 (file)
@@ -122,7 +122,7 @@ $.widget("ui.dialog", {
                                        "ui-corner-all  ui-helper-clearfix" )
                                .prependTo( uiDialog ),
 
-                       uiDialogTitlebarClose = $( "<a href='#'>" )
+                       uiDialogTitlebarClose = $( "<a href='#'></a>" )
                                .addClass( "ui-dialog-titlebar-close  ui-corner-all" )
                                .attr( "role", "button" )
                                .hover(