Skip to content

Commit 35599a2

Browse files
committed
Demo: Enable basic HTML5 elements support in IE<9.
1 parent bb9cd66 commit 35599a2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@
2828
-->
2929
<link rel="stylesheet" href="css/vendor/jquery.Jcrop.css" />
3030
<link rel="stylesheet" href="css/demo.css" />
31+
<!--[if lt IE 9]>
32+
<script>
33+
// Basic HTML5 elements support:
34+
'figure figcaption'.replace(/\w+/g, function (n) {
35+
document.createElement(n)
36+
})
37+
</script>
38+
<![endif]-->
3139
</head>
3240
<body>
3341
<h1>JavaScript Load Image Demo</h1>

0 commit comments

Comments
 (0)