Skip to content

Commit

Permalink
DS-2514 Packaged version of html5shiv.js is missing "main" element
Browse files Browse the repository at this point in the history
Added "main" element to html5shiv.js, which should bring it inline
with the 3.6.2pre distribution from aFarkas's Github repo:
https://raw.githubusercontent.com/aFarkas/html5shiv/
3.6.2pre/dist/html5shiv.js

This can be verified by unminifying html5shiv.js in the above link
and html5shiv.js in DSpace master, and comparing them in any merge
program like vimdiff or WinMerge.

Without this patch, IE 8 self-closes the "main" element, and pushes
its child DIVs after it instead of nesting them within itself, which
has repercussions when styling the JSPUI with CSS.

With this patch, IE 8 comprehends the "main" element, and nests the
DIVs correctly.
  • Loading branch information
minusdavid committed Mar 17, 2015
1 parent c3900cf commit 780d5e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dspace-jspui/src/main/webapp/static/js/html5shiv.js

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

0 comments on commit 780d5e0

Please sign in to comment.