Skip to content

Commit

Permalink
fix layout feature detection
Browse files Browse the repository at this point in the history
  • Loading branch information
surma committed Aug 25, 2018
1 parent d8716c4 commit a2ebae7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layout-worklet/blocklike/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
});
</script>
<script>
if(!('layoutWorklet') in CSS) {
if(!('layoutWorklet' in CSS)) {
document.write('You need Custom Layout for this demo :(');
}
function urlFromTag(sel) {
Expand Down
2 changes: 1 addition & 1 deletion layout-worklet/random/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
});
</script>
<script>
if(!('layoutWorklet') in CSS) {
if(!('layoutWorklet' in CSS)) {
document.write('You need Custom Layout for this demo :(');
}
function urlFromTag(sel) {
Expand Down

0 comments on commit a2ebae7

Please sign in to comment.