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
566a3881
Commit
566a3881
authored
Jan 03, 2018
by
Weblate
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
7985b92d
ccb97eb7
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
78 additions
and
76 deletions
+78
-76
src/converse-controlbox.js
src/converse-controlbox.js
+73
-71
src/converse-minimize.js
src/converse-minimize.js
+2
-2
src/utils.js
src/utils.js
+3
-3
No files found.
src/converse-controlbox.js
View file @
566a3881
This diff is collapsed.
Click to expand it.
src/converse-minimize.js
View file @
566a3881
...
...
@@ -349,10 +349,10 @@
);
if
(
this
.
model
.
get
(
'
type
'
)
===
'
chatroom
'
)
{
data
.
title
=
this
.
model
.
get
(
'
name
'
);
u
.
addClass
(
this
.
el
,
'
chat-head-chatroom
'
);
u
.
addClass
(
'
chat-head-chatroom
'
,
this
.
el
);
}
else
{
data
.
title
=
this
.
model
.
get
(
'
fullname
'
);
u
.
addClass
(
this
.
el
,
'
chat-head-chatbox
'
);
u
.
addClass
(
'
chat-head-chatbox
'
,
this
.
el
);
}
this
.
el
.
innerHTML
=
tpl_trimmed_chat
(
data
);
return
this
.
el
;
...
...
src/utils.js
View file @
566a3881
...
...
@@ -87,15 +87,15 @@
var
u
=
{};
u
.
addClass
=
function
(
el
,
className
)
{
u
.
addClass
=
function
(
className
,
el
)
{
if
(
el
instanceof
Element
)
{
el
.
classList
.
add
(
className
);
}
}
u
.
removeClass
=
function
(
klass
,
el
)
{
u
.
removeClass
=
function
(
className
,
el
)
{
if
(
el
instanceof
Element
)
{
el
.
classList
.
remove
(
klass
);
el
.
classList
.
remove
(
className
);
}
return
el
;
}
...
...
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