mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
fix console.log bug
This commit is contained in:
@@ -401,7 +401,7 @@ const __trace_call = (cxt, fn, context, args, errormessage, is_new = false) => {
|
|||||||
cxt.stack.push(false)
|
cxt.stack.push(false)
|
||||||
|
|
||||||
// TODO: other console fns
|
// TODO: other console fns
|
||||||
const is_log = fn == console.log || fn == console.error
|
const is_log = fn == cxt.window.console.log || fn == cxt.window.console.error
|
||||||
|
|
||||||
if(is_log) {
|
if(is_log) {
|
||||||
set_record_call(cxt)
|
set_record_call(cxt)
|
||||||
|
|||||||
Reference in New Issue
Block a user