diff --git a/entries/one.xml b/entries/one.xml index 8f55d4aa..ca9d9ef2 100644 --- a/entries/one.xml +++ b/entries/one.xml @@ -48,7 +48,7 @@ $( "#foo" ).one( "click", function() { alert( "This will be displayed only once." ); }); $( "body" ).one( "click", "#foo", function() { - alert( "This displays if #foo is the first thing clicked in the body." ); + alert( "This displays the first time #foo is clicked in the body." ); });

After the code is executed, a click on the element with ID foo will display the alert. Subsequent clicks will do nothing. This code is equivalent to: