Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Fixes backspace/delete can't work till a character is entered or 'ent…
Browse files Browse the repository at this point in the history
…er'.
  • Loading branch information
cheeaun committed Oct 26, 2010
1 parent e6aa788 commit 2d31ec6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/MooEditable/MooEditable.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ this.MooEditable = new Class({
// contentWindow and document references
this.win = this.iframe.contentWindow;
this.doc = this.win.document;

// Deal with weird quirks on Gecko
if (Browser.firefox) this.doc.designMode = 'On';

// Build the content of iframe
var docHTML = this.options.html.substitute({
Expand Down

0 comments on commit 2d31ec6

Please sign in to comment.