We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04bb39f commit 29d370dCopy full SHA for 29d370d
src/app/learnocaml_teacher_tab.ml
@@ -236,7 +236,10 @@ let rec teacher_tab token _select _params () =
236
H.a_ondblclick (fun _ -> open_exercise_ ());
237
H.a_onmouseup (fun ev ->
238
Js.Optdef.case ev##.which (fun () -> true) @@ fun btn ->
239
- if btn = Dom_html.Middle_button then open_partition_ () else true);
+ if Js.to_bool ev##.ctrlKey && btn = Dom_html.Left_button then
240
+ open_partition_ ()
241
+ else
242
+ true);
243
] [
244
auto_checkbox_td ();
245
H.td ~a:[indent_style group_level]
0 commit comments