Issue 1157: Unused javascript function is removed.
This commit is contained in:
parent
459fc2fabd
commit
2bbd7ab67f
|
@ -32,21 +32,6 @@ else if ($style == "plus")
|
||||||
$a->page['htmlhead'] .= <<< EOT
|
$a->page['htmlhead'] .= <<< EOT
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
function collapseHeight(elems) {
|
|
||||||
var elemName = '.wall-item-body:not(.divmore)';
|
|
||||||
if(typeof elems != 'undefined') {
|
|
||||||
elemName = elems + ' ' + elemName;
|
|
||||||
}
|
|
||||||
$(elemName).each(function() {
|
|
||||||
if($(this).height() > 450) {
|
|
||||||
$('html').height($('html').height());
|
|
||||||
$(this).divgrow({ initialHeight: 400, showBrackets: false, speed: 0 });
|
|
||||||
$(this).addClass('divmore');
|
|
||||||
$('html').height('auto');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function insertFormatting(comment,BBcode,id) {
|
function insertFormatting(comment,BBcode,id) {
|
||||||
|
|
||||||
var tmpStr = $("#comment-edit-text-" + id).val();
|
var tmpStr = $("#comment-edit-text-" + id).val();
|
||||||
|
|
Loading…
Reference in a new issue