aboutsummaryrefslogtreecommitdiffstats
path: root/demos/tabs
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-08-21 00:04:44 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-08-21 08:06:22 -0400
commit063885f592e6558d377968006ef7fe8ce192362c (patch)
treec506037207f99171d3ab0f1b700b30e7ad0e9ceb /demos/tabs
parentb7278a3968d9ac6332958811317865a412a9f39b (diff)
downloadjquery-ui-063885f592e6558d377968006ef7fe8ce192362c.tar.gz
jquery-ui-063885f592e6558d377968006ef7fe8ce192362c.zip
Tabs: Style updates
Ref #14246 Ref gh-1588
Diffstat (limited to 'demos/tabs')
-rw-r--r--demos/tabs/manipulation.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/tabs/manipulation.html b/demos/tabs/manipulation.html
index bb4bb34c7..e10621bf3 100644
--- a/demos/tabs/manipulation.html
+++ b/demos/tabs/manipulation.html
@@ -22,7 +22,7 @@
var tabs = $( "#tabs" ).tabs();
- // modal dialog init: custom buttons and a "close" callback resetting the form inside
+ // Modal dialog init: custom buttons and a "close" callback resetting the form inside
var dialog = $( "#dialog" ).dialog({
autoOpen: false,
modal: true,
@@ -40,14 +40,14 @@
}
});
- // addTab form: calls addTab function on submit and closes the dialog
+ // AddTab form: calls addTab function on submit and closes the dialog
var form = dialog.find( "form" ).on( "submit", function( event ) {
addTab();
dialog.dialog( "close" );
event.preventDefault();
});
- // actual addTab function: adds new tab using the input from the form above
+ // Actual addTab function: adds new tab using the input from the form above
function addTab() {
var label = tabTitle.val() || "Tab " + tabCounter,
id = "tabs-" + tabCounter,
@@ -60,14 +60,14 @@
tabCounter++;
}
- // addTab button: just opens the dialog
+ // AddTab button: just opens the dialog
$( "#add_tab" )
.button()
.on( "click", function() {
dialog.dialog( "open" );
});
- // close icon: removing the tab on click
+ // Close icon: removing the tab on click
tabs.on( "click", "span.ui-icon-close", function() {
var panelId = $( this ).closest( "li" ).remove().attr( "aria-controls" );
$( "#" + panelId ).remove();