Fix function not being exported
This commit is contained in:
parent
9349ba200e
commit
f598b7d267
@ -1,8 +1,7 @@
|
||||
import { CustomElement } from 'shared/components/element.js';
|
||||
import { _converse, api, converse } from '@converse/headless/core';
|
||||
import { _converse, api } from '@converse/headless/core';
|
||||
import { onScrolledDown } from './utils.js';
|
||||
|
||||
const u = converse.env.utils;
|
||||
|
||||
export default class BaseChatView extends CustomElement {
|
||||
|
||||
|
@ -4,7 +4,7 @@ import { _converse, api, converse } from '@converse/headless/core';
|
||||
|
||||
const { dayjs } = converse.env;
|
||||
|
||||
function onScrolledDown (model) {
|
||||
export function onScrolledDown (model) {
|
||||
if (!model.isHidden()) {
|
||||
if (api.settings.get('allow_url_history_change')) {
|
||||
// Clear location hash if set to one of the messages in our history
|
||||
|
Loading…
Reference in New Issue
Block a user