Skip to content

Commit 1e6e4ce

Browse files
committed
Dialog: add required closing tag </button>. Fixes #8639 - jQuery 1.9.0 dialog on a XHTML page is broken if buttons are defined
1 parent 7756834 commit 1e6e4ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.dialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ $.widget("ui.dialog", {
364364
props = $.isFunction( props ) ?
365365
{ click: props, text: name } :
366366
props;
367-
var button = $( "<button type='button'>" )
367+
var button = $( "<button type='button'></button>" )
368368
.attr( props, true )
369369
.unbind( "click" )
370370
.click(function() {

0 commit comments

Comments
 (0)