* wrap/python/ajax/trans.html: Handle clicks on circled arrows.
This commit is contained in:
parent
c7e6733eb3
commit
a184507848
1 changed files with 4 additions and 2 deletions
|
|
@ -286,8 +286,10 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$('.collapsible .head').click(function(e) {
|
$('.collapsible .head').click(function(e) {
|
||||||
var target = $(e.target);
|
var cl = e.target.classList;
|
||||||
if (!e.target.classList.contains('head')) {
|
if (!cl.contains('head')
|
||||||
|
&& !cl.contains('ui-icon-circle-arrow-n')
|
||||||
|
&& !cl.contains('ui-icon-circle-arrow-s')) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (e.ctrlKey) {
|
if (e.ctrlKey) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue