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
|
||||
$.off d, 'mouseup', Embedding.dragEmbed
|
||||
Embedding.dragEmbed.mouseup = false
|
||||
style.visibility = ''
|
||||
style.pointerEvents = ''
|
||||
return
|
||||
$.on d, 'mouseup', Embedding.dragEmbed
|
||||
Embedding.dragEmbed.mouseup = true
|
||||
style.visibility = 'hidden'
|
||||
style.pointerEvents = 'none'
|
||||
|
||||
title: (data) ->
|
||||
{key, uid, options, link, post} = data
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user