Skip to content
This repository was archived by the owner on Dec 7, 2023. It is now read-only.

Commit 03bd2da

Browse files
author
Alexey Ivanov
committed
Check picture's support
1 parent a50d6c9 commit 03bd2da

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/html/views/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
/>
1111
<title>HTML5 webpack boilerplate</title>
1212
<link rel="stylesheet" href="/vendors/normalize-css/normalize.min.css" />
13+
<script>
14+
if(!window.HTMLPictureElement) {
15+
document.createElement("picture");
16+
};
17+
</script>
1318
</head>
1419
<body>
1520
<!--header.html-->

0 commit comments

Comments
 (0)