0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Fixing meaningless test that would forever fail.

IE9 doesn't support conditional comments so testing "if IE 9" would always be false. Additionally this also meant no HTML tag was actually output for any other browser either! As we don't support IE8 either, testing for IE8 was also pointless.
This commit is contained in:
Dave Cranwell 2014-11-03 16:14:30 +00:00
parent 36a5a7704c
commit 86fc1f0d1a

View File

@ -1,7 +1,6 @@
<!doctype html>
{% load compress %}
<!--[if lt IE 9]> <html class="no-js ie lt-ie9" lang="{{ LANGUAGE_CODE|default:"en-gb" }}"> <![endif]-->
<!--[if IE 9]> <html class="no-js ie lt-ie10" lang="{{ LANGUAGE_CODE|default:"en-gb" }}"> <![endif]-->
<html class="no-js" lang="{{ LANGUAGE_CODE|default:"en-gb" }}">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />