Skip to content
Browse files

BUGFIX: javascript console replacement's condition is incorrect

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115158 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 573acae commit 517a51194bd4644d35ace647a0166c2384725dd9 @phalkunz phalkunz committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 thirdparty/firebug-lite/firebug.js
  2. +1 −1 thirdparty/firebug-lite/firebugx.js
View
2 thirdparty/firebug-lite/firebug.js
@@ -1,5 +1,5 @@
-if (!window.console || !console.firebug) {
+if (!window.console && !console.firebug) {
(function()
{
window.console =
View
2 thirdparty/firebug-lite/firebugx.js
@@ -1,5 +1,5 @@
-if (!window.console || !console.firebug)
+if (!window.console && !console.firebug)
{
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
"group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];

0 comments on commit 517a511

Please sign in to comment.
Something went wrong with that request. Please try again.