mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-17 16:41:39 +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
|
var wiki = this.page
|
||||||
elems
|
elems
|
||||||
.sortable({
|
.sortable({
|
||||||
handle: ".sort-handle",
|
handle: '.sort-handle',
|
||||||
placeholder: "sort-placeholder",
|
placeholder: 'sort-placeholder',
|
||||||
forcePlaceholderSize: true,
|
forcePlaceholderSize: true,
|
||||||
axis: 'y',
|
axis: 'y',
|
||||||
|
|
||||||
@ -1380,6 +1380,10 @@ var pWikiUIActions = actions.Actions({
|
|||||||
.order('save')
|
.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()
|
.addTouch()
|
||||||
},
|
},
|
||||||
// title editor...
|
// title editor...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user