witten
/
luminotes
Archived
1
0
Fork 0

Ignore mouse hover events for static div notes, thereby preventing link pulldown from opening.

This commit is contained in:
Dan Helfman 2009-01-12 16:00:24 -08:00
parent 59be7cc79d
commit a6540e6da3
1 changed files with 4 additions and 0 deletions

View File

@ -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;