aboutsummaryrefslogtreecommitdiffstats
path: root/demos/effect/toggle.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/effect/toggle.html')
-rw-r--r--demos/effect/toggle.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/effect/toggle.html b/demos/effect/toggle.html
index 65c4747a9..7ecf8c9c0 100644
--- a/demos/effect/toggle.html
+++ b/demos/effect/toggle.html
@@ -33,7 +33,7 @@
// get effect type from
var selectedEffect = $( "#effectTypes" ).val();
- // most effect types need no options passed by default
+ // Most effect types need no options passed by default
var options = {};
// some effects have required parameters
if ( selectedEffect === "scale" ) {
@@ -42,11 +42,11 @@
options = { to: { width: 200, height: 60 } };
}
- // run the effect
+ // Run the effect
$( "#effect" ).toggle( selectedEffect, options, 500 );
};
- // set effect from select menu value
+ // Set effect from select menu value
$( "#button" ).on( "click", function() {
runEffect();
});