chiark / gitweb /
drop some logging
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 26 Jun 2020 23:25:42 +0000 (00:25 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 26 Jun 2020 23:25:42 +0000 (00:25 +0100)
templates/script.js

index c8baecdbceac82426638b1698db317e8113928a9..f7e9557af476fe6679269744042e5618d5b6fe2f 100644 (file)
@@ -87,7 +87,7 @@ function drag_mousedown(e) {
   dox = parseFloat(delt.getAttributeNS(null,"x"));
   doy = parseFloat(delt.getAttributeNS(null,"y"));
 
-  console.log('mousedown ...', delt.dataset.g, !!delt.dataset.g);
+  //console.log('mousedown ...', delt.dataset.g, !!delt.dataset.g);
   if (g == us) {
     dragging = DRAGGING.MAYBE_UNGRAB;
   } else {
@@ -113,7 +113,7 @@ function drag_mousemove(e) {
       dragging |= DRAGGING.YES;
     }
   }
-  console.log('mousemove', ddx, ddy, dragging);
+  //console.log('mousemove', ddx, ddy, dragging);
   if (dragging & DRAGGING.YES) {
     var x = dox + ddx;
     var y = doy + ddy;