Fix function not being exported

This commit is contained in:
JC Brand 2021-06-17 16:32:58 +02:00
parent 9349ba200e
commit f598b7d267
2 changed files with 2 additions and 3 deletions

View File

@ -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 {

View File

@ -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