aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-12-13 11:51:33 +0000
committerRichard Worth <rdworth@gmail.com>2008-12-13 11:51:33 +0000
commit24f2b7794c6fa4e57c825a36b5b2ef6284a99471 (patch)
tree06a73267e256ab1b8b8345d4da0517e2e0b01d10 /ui
parentb731dc5e9798601da4a3e505512b4efe5b90b63d (diff)
downloadjquery-ui-24f2b7794c6fa4e57c825a36b5b2ef6284a99471.tar.gz
jquery-ui-24f2b7794c6fa4e57c825a36b5b2ef6284a99471.zip
corrected some invalid html <div/> to <div></div>
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.accordion.js2
-rw-r--r--ui/ui.dialog.js10
2 files changed, 6 insertions, 6 deletions
diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js
index 0a134161f..973c9706e 100644
--- a/ui/ui.accordion.js
+++ b/ui/ui.accordion.js
@@ -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");
diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js
index 401c04e19..41732dc80 100644
--- a/ui/ui.dialog.js
+++ b/ui/ui.dialog.js
@@ -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,