Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
cde6b093
Commit
cde6b093
authored
Jan 27, 2020
by
laszlovl
Committed by
JC Brand
Jan 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix incrementMsgCounter cleaning up after itself
parent
ee6b8be7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/headless/converse-chatboxes.js
src/headless/converse-chatboxes.js
+1
-1
No files found.
src/headless/converse-chatboxes.js
View file @
cde6b093
...
...
@@ -46,7 +46,7 @@ converse.plugins.add('converse-chatboxes', {
if
(
title
.
search
(
/^Messages
\(\d
+
\)
/
)
===
-
1
)
{
document
.
title
=
`Messages (
${
msg_counter
}
)
${
title
}
`
;
}
else
{
document
.
title
=
title
.
replace
(
/^Messages
\(\d
+
\)
/
,
`Messages (
${
msg_counter
}
)`
);
document
.
title
=
title
.
replace
(
/^Messages
\(\d
+
\)
/
,
`Messages (
${
msg_counter
}
)
`
);
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment