Skip to content

Commit ff99d42

Browse files
author
adrian
committed
Corrected argument order for isAllowed function
1 parent 17c8d42 commit ff99d42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Also, the default list type is `<ol>`.
6363
<dt>rtl</dt>
6464
<dd>Set this to true if you have a right-to-left page. Default: <b>false</b></dd>
6565
<dt>isAllowed (function)</dt>
66-
<dd>You can specify a custom function to verify if a drop location is allowed. Default: <b>function(parent, item) { return true; }</b></dd>
66+
<dd>You can specify a custom function to verify if a drop location is allowed. Default: <b>function(item, parent) { return true; }</b></dd>
6767
</dl>
6868

6969
## Custom Methods

0 commit comments

Comments
 (0)