From: zuber Date: Thu, 7 Jan 2010 13:28:51 +0000 (+0100) Subject: Serwis powinien już działać bez Firebuga. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/f18572dbe8b4b604a63cb58170f7755ec9793842?ds=inline Serwis powinien już działać bez Firebuga. --- diff --git a/platforma/static/js/main.js b/platforma/static/js/main.js index 62ee8ff6..c88f2930 100644 --- a/platforma/static/js/main.js +++ b/platforma/static/js/main.js @@ -1,5 +1,5 @@ -if (!console) { - console = { +if (!window.console) { + window.console = { log: function() {} } } diff --git a/platforma/templates/base.html b/platforma/templates/base.html index 57d8f985..4819b7c4 100755 --- a/platforma/templates/base.html +++ b/platforma/templates/base.html @@ -4,23 +4,12 @@ {% block title %}Platforma Redakcyjna{% block subtitle %}{% endblock subtitle %}{% endblock title%} - {# #} - {# #} - {% block extrahead %} {% endblock %}
- {# #}
{% block maincontent %} {% endblock %}
{% block extrabody %}{% endblock %}