mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:02:58 +00:00
Merge pull request #446 from fermionic/frost-scrollbars-are-annoying
Frost scrollbars are annoying
This commit is contained in:
commit
0765ab5203
2 changed files with 6 additions and 6 deletions
|
@ -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");
|
||||||
|
|
2
view/theme/frost-mobile/js/main.min.js
vendored
2
view/theme/frost-mobile/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue