Skip to content

Commit

Permalink
Works on Opera
Browse files Browse the repository at this point in the history
  • Loading branch information
simi committed Jan 25, 2011
1 parent dc25c9c commit fa07e41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/public/javascripts/refinery/boot_wym.js
Expand Up @@ -225,7 +225,8 @@ var wymeditor_boot_options = $.extend({
WYMeditor.editor.prototype.loadIframe = function(iframe) {
var wym = this;

var doc = (iframe.document || iframe.contentDocument || iframe.contentWindow.document);
var doc = (iframe.contentDocument || iframe.contentWindow.document || iframe.document);

doc.open('text/html', 'replace');
html = "<!DOCTYPE html>\
<html>\
Expand Down

0 comments on commit fa07e41

Please sign in to comment.