chiark / gitweb /
js: Tiny reformat
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 12 Apr 2021 18:27:44 +0000 (19:27 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 12 Apr 2021 18:27:44 +0000 (19:27 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
templates/script.ts

index 754c666f888804cac7574fe2a53415ca27103300..64c77fa085226718e4d4ccc9850b235d26ed764f 100644 (file)
@@ -906,8 +906,7 @@ function mouse_find_clicked(e: MouseEvent, target: SVGGraphicsElement,
     return mouse_clicked_one(piece);
   } else if (special_count == 0) {
     return mouse_find_lowest(e);
-  } else {
-    // special_count > 0
+  } else { // special_count > 0
     let clickpos = mouseevent_pos(e);
     return mouse_find_predicate(
       special_count,