Skip to content

Commit 464a5ee

Browse files
committed
Fixed a minor bug with logging in FireFox.
1 parent 41c729f commit 464a5ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/jquery.syntax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ var Syntax = {
263263
log: function() {
264264
if (typeof(console) != "undefined" && console.log) {
265265
console.log.apply(console, arguments);
266-
} else if (window.console.log) {
266+
} else if (window.console && window.console.log) {
267267
window.console.log.apply(window.console, arguments);
268268
}
269269
}

0 commit comments

Comments
 (0)