Merge pull request #446 from fermionic/frost-scrollbars-are-annoying

Frost scrollbars are annoying
This commit is contained in:
fermionic 2012-08-26 08:32:52 -07:00
commit 0765ab5203
2 changed files with 6 additions and 6 deletions

View File

@ -350,7 +350,7 @@
/* autocomplete @nicknames */ /* autocomplete @nicknames */
$j(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl"); $j(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl");
var bimgs = $j(".wall-item-body > img").not(function() { return this.complete; }); /*var bimgs = $j(".wall-item-body > img").not(function() { return this.complete; });
var bimgcount = bimgs.length; var bimgcount = bimgs.length;
if (bimgcount) { if (bimgcount) {
@ -363,21 +363,21 @@
}); });
} else { } else {
collapseHeight(); collapseHeight();
} }*/
}); });
} }
function collapseHeight() { /* function collapseHeight() {
$j(".wall-item-body").each(function() { $j(".wall-item-body").each(function() {
if($j(this).height() > 310) { if($j(this).height() > 310) {
if(! $j(this).hasClass('divmore')) { if(! $j(this).hasClass('divmore')) {
$j(this).divgrow({ initialHeight: 300, showBrackets: false, speed: 300 }); $j(this).divgrow({ initialHeight: 300, showBrackets: false, speed: 0 });
$j(this).addClass('divmore'); $j(this).addClass('divmore');
} }
} }
}); });
} }*/
function imgbright(node) { function imgbright(node) {
$j(node).removeClass("drophide").addClass("drop"); $j(node).removeClass("drophide").addClass("drop");

File diff suppressed because one or more lines are too long