Skip to content

Commit

Permalink
set iframe src to javasript:; instead of javascript:false (for not-en…
Browse files Browse the repository at this point in the history
…tirely-clear reasons)
  • Loading branch information
marijnh committed Jul 28, 2010
1 parent b566ccb commit 4ae8d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/codemirror.js
Expand Up @@ -142,7 +142,7 @@ var CodeMirror = (function(){
"document.write(window.frameElement.CodeMirror.html);document.close();})()";
}
else {
frame.src = "javascript:false";
frame.src = "javascript:;";
}

if (place.appendChild) place.appendChild(div);
Expand Down

0 comments on commit 4ae8d5a

Please sign in to comment.