* wrap/python/ajax/trans.html: Handle clicks on circled arrows.

This commit is contained in:
Alexandre Duret-Lutz 2015-06-21 19:00:49 +02:00
parent c7e6733eb3
commit a184507848

View file

@ -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) {