Disable pointer events instead of hiding the element when dragging an embed.
This commit is contained in:
parent
0094826c51
commit
f7a7351b8c
@ -89,11 +89,11 @@ Embedding =
|
|||||||
if Embedding.dragEmbed.mouseup
|
if Embedding.dragEmbed.mouseup
|
||||||
$.off d, 'mouseup', Embedding.dragEmbed
|
$.off d, 'mouseup', Embedding.dragEmbed
|
||||||
Embedding.dragEmbed.mouseup = false
|
Embedding.dragEmbed.mouseup = false
|
||||||
style.visibility = ''
|
style.pointerEvents = ''
|
||||||
return
|
return
|
||||||
$.on d, 'mouseup', Embedding.dragEmbed
|
$.on d, 'mouseup', Embedding.dragEmbed
|
||||||
Embedding.dragEmbed.mouseup = true
|
Embedding.dragEmbed.mouseup = true
|
||||||
style.visibility = 'hidden'
|
style.pointerEvents = 'none'
|
||||||
|
|
||||||
title: (data) ->
|
title: (data) ->
|
||||||
{key, uid, options, link, post} = data
|
{key, uid, options, link, post} = data
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user