removal of absolute pos.

Has been fixed with css.
I'm not sure if i'll break something by leaving an empty file, thus i'll just leave it at that.
This commit is contained in:
Lightforger
2013-03-19 14:51:49 +01:00
parent 0da58dcb79
commit 17530f13b3

View File

@@ -1,18 +1 @@
$(function() {
var $sidebar = $("#sidebar");
var $content = $("#content");
if (!$sidebar.length || !$content.length) {
return;
}
var sidebar_offset = $sidebar.offset().top + $sidebar.height();
var content_offset = $content.offset().top + $content.height();
var offset = null;
if (sidebar_offset > content_offset) {
offset = sidebar_offset;
} else {
offset = content_offset;
}
$("#page-footer").css({"position": "absolute", "top": offset, "width": "100%", "height": "3em"});
});
$(function() {});