Permalink
Browse files

changed the document.write() call to use console.log instead of log, …

…now that it's safe
  • Loading branch information...
1 parent 8da51f0 commit 88bd6ca276829118f89057989b0d4eceb9256947 @HenrikJoreteg HenrikJoreteg committed Dec 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/plugins.js
View
2 js/plugins.js
@@ -48,7 +48,7 @@
(function(doc){
var write = doc.write;
doc.write = function(q){
- log('document.write(): ',arguments);
+ console.log('document.write(): ',arguments);
if (/docwriteregexwhitelist/.test(q)) write.apply(doc,arguments);
};
})(document);

0 comments on commit 88bd6ca

Please sign in to comment.