From 5eb8311ab7aa220cfcd23936e8d330a8611630ec Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sat, 24 Jan 2009 23:59:23 -0800 Subject: [PATCH] Fix for an edge case where the mouse is hovering over a link that's in an editor in the process of being coverted from an iframe to a div (in which hovering is ignored). --- static/js/Editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/Editor.js b/static/js/Editor.js index c992f8f..91be4ec 100644 --- a/static/js/Editor.js +++ b/static/js/Editor.js @@ -872,7 +872,7 @@ Editor.prototype.mouse_hovered = function ( event ) { Editor.prototype.mouse_hover_timeout = function ( hover_target ) { // if the mouse is hovering over the same target that it was when the timer started - if ( hover_target == this.hover_target ) + if ( hover_target == this.hover_target && this.iframe ) signal( this, "mouse_hovered", hover_target ); }