From c3faf181081335057c92eb41ef92030de6be8151 Mon Sep 17 00:00:00 2001 From: Harry Mumford-Turner Date: Fri, 20 May 2016 13:38:57 +0100 Subject: [PATCH 1/2] Missing comma on ```fallbackOnBody``` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4443936..6e85b3f 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ var sortable = new Sortable(el, { forceFallback: false, // ignore the HTML5 DnD behaviour and force the fallback to kick in fallbackClass: "sortable-fallback" // Class name for the cloned DOM Element when using forceFallback - fallbackOnBody: false // Appends the cloned DOM Element into the Document's Body + fallbackOnBody: false, // Appends the cloned DOM Element into the Document's Body scroll: true, // or HTMLElement scrollSensitivity: 30, // px, how near the mouse must be to an edge to start scrolling. From abec27faa104da93e25790f845b23e4680654d59 Mon Sep 17 00:00:00 2001 From: Harry Mumford-Turner Date: Fri, 20 May 2016 13:43:11 +0100 Subject: [PATCH 2/2] Adding missing comma on fallbackClass Adding a comma on the following line will make the options valid javascript. `fallbackClass: "sortable-fallback"` to `fallbackClass: "sortable-fallback",` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e85b3f..a1e80b2 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ var sortable = new Sortable(el, { dataIdAttr: 'data-id', forceFallback: false, // ignore the HTML5 DnD behaviour and force the fallback to kick in - fallbackClass: "sortable-fallback" // Class name for the cloned DOM Element when using forceFallback + fallbackClass: "sortable-fallback", // Class name for the cloned DOM Element when using forceFallback fallbackOnBody: false, // Appends the cloned DOM Element into the Document's Body scroll: true, // or HTMLElement