Remove top console logs to stop hosted iFrames being broken.

This commit is contained in:
John McLear 2020-05-29 12:56:03 +01:00 committed by GitHub
parent b2a723e57f
commit 00b6a1d9fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 34 deletions

View file

@ -104,7 +104,7 @@ function Ace2Editor()
editor[fnName] = pendingInit(function(){
if(fnName === "setAuthorInfo"){
if(!arguments[0]){
top.console.warn("setAuthorInfo AuthorId not set for some reason", arguments);
// setAuthorInfo AuthorId not set for some reason
}else{
info[prefix + fnName].apply(this, arguments);
}