From 8cd63ee66125b73fe330062a6485786dd33c8de9 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 23 Jan 2009 14:36:12 -0800 Subject: [PATCH] Only adding black focused border to iframes, not static divs. --- static/js/Editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/Editor.js b/static/js/Editor.js index a8bac5d..0c428fb 100644 --- a/static/js/Editor.js +++ b/static/js/Editor.js @@ -984,9 +984,9 @@ Editor.prototype.focus = function ( suppress_signal ) { if ( this.div && this.edit_enabled ) this.claim_iframe(); - addElementClass( this.iframe || this.div, "focused_note_frame" ); - if ( this.iframe ) { + addElementClass( this.iframe, "focused_note_frame" ); + if ( OPERA ) this.iframe.focus(); else