refactor and simplify the way view switching/rerendering works

This commit is contained in:
Adam Shaw
2013-08-06 23:23:03 -07:00
parent 6da36c7bdf
commit d2aa9e9f4c
8 changed files with 184 additions and 217 deletions
-9
View File
@@ -113,15 +113,6 @@ function vborders(element) {
}
function setMinHeight(element, height) {
height = (typeof height == 'number' ? height + 'px' : height);
element.each(function(i, _element) {
_element.style.cssText += ';min-height:' + height + ';_height:' + height;
// why can't we just use .css() ? i forget
});
}
/* Misc Utils
-----------------------------------------------------------------------------*/