mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
sortable: added default checks for scroll options
This commit is contained in:
parent
090dbb314b
commit
f96e61789e
@ -114,6 +114,9 @@ test("defaults", function() {
|
|||||||
equals(el.data("distance.sortable"), 0, "distance");
|
equals(el.data("distance.sortable"), 0, "distance");
|
||||||
equals(el.data("disabled.sortable"), false, "disabled");
|
equals(el.data("disabled.sortable"), false, "disabled");
|
||||||
equals(el.data("delay.sortable"), 0, "delay");
|
equals(el.data("delay.sortable"), 0, "delay");
|
||||||
|
equals(el.data("scroll.sortable"), true, "scroll");
|
||||||
|
equals(el.data("scrollSensitivity.sortable"), 20, "scrollSensitivity");
|
||||||
|
equals(el.data("scrollSpeed.sortable"), 20, "scrollSpeed");
|
||||||
equals(el.data("cancel.sortable"), ":input,button", "cancel");
|
equals(el.data("cancel.sortable"), ":input,button", "cancel");
|
||||||
equals(el.data("items.sortable"), "> *", "items");
|
equals(el.data("items.sortable"), "> *", "items");
|
||||||
equals(el.data("zIndex.sortable"), 1000, "zIndex");
|
equals(el.data("zIndex.sortable"), 1000, "zIndex");
|
||||||
|
Loading…
Reference in New Issue
Block a user