Skip to content
Permalink
Browse files

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

  • Loading branch information
rdworth committed Dec 13, 2008
1 parent b731dc5 commit 24f2b7794c6fa4e57c825a36b5b2ef6284a99471
Showing with 7 additions and 7 deletions.
  1. +1 −1 demos/functional/templates/ui.tabs.php
  2. +1 −1 ui/ui.accordion.js
  3. +5 −5 ui/ui.dialog.js
@@ -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();' }
]
},
{
@@ -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");
@@ -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,

0 comments on commit 24f2b77

Please sign in to comment.
You can’t perform that action at this time.