Skip to content

Commit d2c340f

Browse files
committed
jQuery.widget: _on() uses this.widget() for delegated events
Fixes jquerygh-193
1 parent de57a09 commit d2c340f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/jQuery.widget.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ _setOption: function( key, value ) {
436436
<desc>Whether or not to bypass the disabled check.</desc>
437437
</argument>
438438
<argument name="element" type="jQuery" optional="true">
439-
<desc>Which element(s) to bind the event handlers to. If no element is provided, <code>this.element</code> is used.</desc>
439+
<desc>Which element(s) to bind the event handlers to. If no element is provided, <code>this.element</code> is used for non-delegated events and <a href="#method-widget">the widget element</a> is used for delegated events.</desc>
440440
</argument>
441441
<argument name="handlers" type="Object">
442442
<desc>

0 commit comments

Comments
 (0)