Skip to content

Commit fea931b

Browse files
author
Starzu
committed
Detach selector parameter is optional
1 parent c6bf2d0 commit fea931b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/io/udash/wrappers/jquery/JQuery.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ trait JQuery extends js.Object {
140140

141141
/** Remove the set of matched elements from the DOM. <br/>
142142
* See: <a href="http://api.jquery.com/detach/">jQuery Docs</a> */
143-
def detach(selector: Selector): JQuery = js.native
143+
def detach(selector: Selector = js.native): JQuery = js.native
144144

145145
/** Remove all child nodes of the set of matched elements from the DOM. <br/>
146146
* See: <a href="http://api.jquery.com/empty/">jQuery Docs</a> */

0 commit comments

Comments
 (0)