Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
14a69cf9
Commit
14a69cf9
authored
Feb 26, 2012
by
Nicolas Dandrimont
🤔
Browse files
Mark the clickable areas as such in the QA output
Thanks to Stuart Prescott for the idea.
parent
d83fdef1
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/public/debexpo.js
View file @
14a69cf9
...
...
@@ -110,4 +110,19 @@ $(document).ready(function() {
}
);
/* Mark stuff as clickable in CSS when they are */
$
(
"
.visibility
"
).
each
(
function
()
{
if
(
$
(
this
).
siblings
(
"
.qa-content
"
).
size
()
>
0
)
{
$
(
this
).
css
(
"
cursor
"
,
"
pointer
"
);
};
});
$
(
"
.qa-header
"
).
each
(
function
()
{
if
(
$
(
this
).
siblings
(
"
.qa-content
"
).
size
()
>
0
)
{
$
(
this
).
css
(
"
cursor
"
,
"
pointer
"
);
};
});
$
(
"
.qa-toggle-all
"
).
css
(
"
cursor
"
,
"
pointer
"
);
$
(
"
.qa-toggle-info
"
).
css
(
"
cursor
"
,
"
pointer
"
);
});
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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