Skip to content

Commit cdc6cdd

Browse files
committed
Remove modernizr.
1 parent 8630437 commit cdc6cdd

File tree

3 files changed

+5
-21
lines changed

3 files changed

+5
-21
lines changed

layouts/css/layout/_sticky-footer.scss

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1+
html,
2+
body {
3+
height: 100%;
4+
}
5+
16
body {
27
display: flex;
38
flex-direction: column;
49
min-height: 100vh;
510
margin: 0;
611
}
712

8-
// Modernizr test for IE10 and IE11
9-
// see: http://thatemil.com/blog/2013/11/03/sticky-footers-flexbox-and-ie10/
10-
.flexboxtweener,
11-
.flexboxtweener body {
12-
height: 100%;
13-
}
14-
1513
#main {
1614
flex: 1 0 auto;
1715
}

static/js/main.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,3 @@
105105
winText[text] = winText[text].replace(/x(86|64)/, arch)
106106
}
107107
})(document, navigator)
108-
109-
/* eslint-disable */
110-
/* Load Modernizr dynamically for IE10/11 and add test classes for sticky footer with flexbox */
111-
;(function(d,e,m,s){
112-
if (!/(MSIE|Trident)/.test(navigator.userAgent)){return;}
113-
m=d.createElement(e);
114-
s=d.getElementsByTagName(e)[0];m.async=1;m.src='/static/js/modernizr.custom.js';
115-
m.onload=function(){Modernizr.addTest('flexboxtweener', Modernizr.testAllProps('flexAlign'));};
116-
s.parentNode.insertBefore(m,s);
117-
})(document,'script');

static/js/modernizr.custom.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)