Diary/static/script.js
2014-05-28 22:44:59 +02:00

11 lines
215 B
JavaScript

window.onload = function() {
resetStyle();
}
window.onresize = function() {
resetStyle();
}
var resetStyle = function() {
document.getElementById("mainContainer").style.minHeight = window.innerHeight + "px";
}