Skip to content

Commit 5aac5f2

Browse files
committed
Improved logging support in Firefox.
1 parent 6c3ce20 commit 5aac5f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/jquery.syntax.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ var Syntax = {
263263
log: function() {
264264
if (typeof(console) != "undefined" && console.log) {
265265
console.log.apply(console, arguments);
266+
} else if (window.console.log) {
267+
window.console.log.apply(window.console, arguments);
266268
}
267269
}
268270
};

0 commit comments

Comments
 (0)