We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13c6d7a commit 9af27d6Copy full SHA for 9af27d6
entries/one.xml
@@ -60,7 +60,7 @@ $( "#foo" ).on( "click", function( event ) {
60
<p>In other words, explicitly calling <code>.off()</code> from within a regularly-bound handler has exactly the same effect.</p>
61
<p>If the first argument contains more than one space-separated event types, the event handler is called <em>once for each event type</em>.</p>
62
<pre><code>
63
-$( "#foo" ).one( "click mouseover", function() {
+$( "#foo" ).one( "click mouseover", function( event ) {
64
alert( "The " + event.type + " event happened!" );
65
});
66
</code></pre>
0 commit comments