Diary/static/script.js

12 lines
215 B
JavaScript
Raw Permalink Normal View History

2014-05-28 20:44:59 +00:00
window.onload = function() {
resetStyle();
}
window.onresize = function() {
resetStyle();
}
var resetStyle = function() {
document.getElementById("mainContainer").style.minHeight = window.innerHeight + "px";
}