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
63134858
Commit
63134858
authored
Feb 24, 2013
by
ichim-david
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly hide or show dt that no longer have dd adjacent
parent
19caf7c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
converse.js
converse.js
+4
-1
No files found.
converse.js
View file @
63134858
...
@@ -1670,9 +1670,12 @@
...
@@ -1670,9 +1670,12 @@
}
}
// Hide the headings if there are no contacts under them
// Hide the headings if there are no contacts under them
_
.
each
([
$my_contacts
,
$contact_requests
,
$pending_contacts
],
function
(
h
)
{
_
.
each
([
$my_contacts
,
$contact_requests
,
$pending_contacts
],
function
(
h
)
{
if
(
h
.
nextUntil
(
'
dt
'
).
length
&&
!
h
.
is
(
'
:visible
'
)
)
{
if
(
h
.
nextUntil
(
'
dt
'
).
length
)
{
h
.
show
();
h
.
show
();
}
}
else
{
h
.
hide
();
}
});
});
$count
=
$
(
'
#online-count
'
);
$count
=
$
(
'
#online-count
'
);
$count
.
text
(
this
.
model
.
getNumOnlineContacts
());
$count
.
text
(
this
.
model
.
getNumOnlineContacts
());
...
...
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