]> git.mxchange.org Git - friendica.git/commitdiff
Issue 1157: Unused javascript function is removed.
authorMichael Vogel <icarus@dabo.de>
Sat, 27 Sep 2014 12:17:50 +0000 (14:17 +0200)
committerMichael Vogel <icarus@dabo.de>
Sat, 27 Sep 2014 12:17:50 +0000 (14:17 +0200)
view/theme/vier/theme.php

index 88ad046675dd7e3fc4cf5fbe838826aaa8e076a1..6b1e4d5df8310df84ca736211f9ae0a1f8c1098f 100644 (file)
@@ -32,21 +32,6 @@ else if ($style == "plus")
 $a->page['htmlhead'] .= <<< EOT
 <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) {
 
                var tmpStr = $("#comment-edit-text-" + id).val();