friendica-github/view/theme/frio/templates/msg-header.tpl

22 lines
637 B
Smarty
Raw Normal View History

2024-08-24 18:23:27 +00:00
{{*
* Copyright (C) 2010-2024, the Friendica project
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*}}
2017-10-20 13:21:42 +00:00
<script type="text/javascript">
$("#comment-edit-text-input").editor_autocomplete(baseurl + '/search/acl');
$(document).ready(function() {
$("#comment-edit-text-input").bbco_autocomplete('bbcode');
$('#mail-conversation').perfectScrollbar();
$('#message-preview').perfectScrollbar();
2017-10-20 13:21:42 +00:00
// Scroll to the bottom of the mail conversation.
var $el = $('#mail-conversation');
if ($el.length) {
$el.scrollTop($el.get(0).scrollHeight);
}
});
</script>