Ignore mouse hover events for static div notes, thereby preventing link pulldown from opening.
This commit is contained in:
parent
59be7cc79d
commit
a6540e6da3
|
@ -653,6 +653,10 @@ Editor.prototype.mouse_clicked = function ( event ) {
|
|||
HOVER_DURATION_MILLISECONDS = 1000;
|
||||
|
||||
Editor.prototype.mouse_hovered = function ( event ) {
|
||||
// ignore mouse hover events for static div notes
|
||||
if ( this.div )
|
||||
return;
|
||||
|
||||
// search through the tree of elements containing the hover target for a link
|
||||
var link = event.target()
|
||||
if ( !link ) false;
|
||||
|
|
Reference in New Issue