mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-17 08:31:38 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
45455c5c64
commit
ea9e16e29e
8
pwiki.js
8
pwiki.js
@ -1361,8 +1361,8 @@ var pWikiUIActions = actions.Actions({
|
||||
var wiki = this.page
|
||||
elems
|
||||
.sortable({
|
||||
handle: ".sort-handle",
|
||||
placeholder: "sort-placeholder",
|
||||
handle: '.sort-handle',
|
||||
placeholder: 'sort-placeholder',
|
||||
forcePlaceholderSize: true,
|
||||
axis: 'y',
|
||||
|
||||
@ -1380,6 +1380,10 @@ var pWikiUIActions = actions.Actions({
|
||||
.order('save')
|
||||
},
|
||||
})
|
||||
// NOTE: we are only adding touch to the active elements
|
||||
// to avoid the side-effect of it canceling the default
|
||||
// behaviour (i.e. scrolling)...
|
||||
.find('.sort-handle')
|
||||
.addTouch()
|
||||
},
|
||||
// title editor...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user