Skip to content

Commit

Permalink
Switch 2k11 frontend to new details polyfill.
Browse files Browse the repository at this point in the history
The old polyfill was still using the deprecated browser function.
  • Loading branch information
yellowled committed Oct 29, 2014
1 parent 55c321b commit 1c49f03
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 3 additions & 5 deletions templates/2k11/js/2k11.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions templates/2k11/style.css
Expand Up @@ -81,6 +81,12 @@ input[type="checkbox"] {

.no-js #searchsend { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* details polyfill */
.no-details details > * { display: none; }
.no-details details > summary:before { content: '\25BA '; float: left; width: 20px; }
.no-details details.open > summary:before { content: '\25BC '; }
.no-details details summary { display: block; }

input[type=text],
input[type=search],
input[type=email],
Expand Down

0 comments on commit 1c49f03

Please sign in to comment.