corrected some invalid html <div/> to <div></div>

This commit is contained in:
Richard Worth 2008-12-13 11:51:33 +00:00
parent b731dc5e97
commit 24f2b7794c
3 changed files with 7 additions and 7 deletions

View File

@ -46,7 +46,7 @@
{ desc: 'Simple Tabs', source: '$("#divTabs").tabs();' },
{ desc: 'Simple Cloned Tabs', source: '$("#divTabs").clone().tabs();' },
{ desc: 'Simple Empty Tabs', source: '$("#divTabs").tabs();' },
{ desc: 'Simple Detached Tabs', source: '$("<div/>").tabs();' }
{ desc: 'Simple Detached Tabs', source: '$("<div></div>").tabs();' }
]
},
{

View File

@ -35,7 +35,7 @@ $.widget("ui.accordion", {
.bind("mouseenter.accordion", function(){ $(this).addClass('ui-state-hover'); })
.bind("mouseleave.accordion", function(){ $(this).removeClass('ui-state-hover'); });
// wrap content elements in div against animation issues
headers.next().wrap("<div/>").addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");
headers.next().wrap("<div></div>").addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");
var active = options.active = findActive(headers, options.active).toggleClass("ui-state-default").toggleClass("ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");
active.parent().addClass("selected");

View File

@ -41,8 +41,8 @@ $.widget("ui.dialog", {
.addClass(
'ui-dialog-content ' +
'ui-widget-content')
.wrap('<div/>')
.wrap('<div/>'),
.wrap('<div></div>')
.wrap('<div></div>'),
uiDialogContainer = (this.uiDialogContainer = uiDialogContent.parent())
.addClass('ui-dialog-container')
@ -52,7 +52,7 @@ $.widget("ui.dialog", {
height: '100%'
}),
uiDialogTitlebar = (this.uiDialogTitlebar = $('<div/>'))
uiDialogTitlebar = (this.uiDialogTitlebar = $('<div></div>'))
.addClass(
'ui-dialog-titlebar ' +
'ui-widget-header ' +
@ -134,7 +134,7 @@ $.widget("ui.dialog", {
self.moveToTop();
}),
uiDialogButtonPane = (this.uiDialogButtonPane = $('<div/>'))
uiDialogButtonPane = (this.uiDialogButtonPane = $('<div></div>'))
.addClass(
'ui-dialog-buttonpane ' +
'ui-widget-content ' +
@ -515,7 +515,7 @@ $.extend($.ui.dialog.overlay, {
$(window).bind('resize.dialog-overlay', $.ui.dialog.overlay.resize);
}
var $el = $('<div/>').appendTo(document.body)
var $el = $('<div></div>').appendTo(document.body)
.addClass('ui-dialog-overlay').css($.extend({
borderWidth: 0, margin: 0, padding: 0,
position: 'absolute', top: 0, left: 0,