/*\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
// It is just a helper file that displays a red message about browser compatibility\r
// at the top of the samples (if incompatible browser is detected).\r
\r
-// Firebug has been presented some bugs with console. It must be "initialized"\r
-// before the page load to work.\r
-// FIXME: Remove the following in the future, if Firebug gets fixed.\r
-if ( typeof console != 'undefined' )\r
- console.log();\r
-\r
-\r
if ( window.CKEDITOR )\r
{\r
(function()\r
\r
html += '</p><p>With non compatible browsers, you should still be able to see and edit the contents (HTML) in a plain text field.</p>';\r
\r
- document.getElementById( 'alerts' ).innerHTML = html;\r
+ var alertsEl = document.getElementById( 'alerts' );\r
+ alertsEl && ( alertsEl.innerHTML = html );\r
};\r
\r
var onload = function()\r