diff --git a/static/index.html b/static/index.html index fce2b27..ae13a01 100644 --- a/static/index.html +++ b/static/index.html @@ -121,16 +121,22 @@ } function handleMouseUp(lineId) { - lineId = lineId + 1; - isDragging = false; + if(!isDragging){ + return; + } + if(isNaN(lineId)){ + lineId = app.selectedLines.endLine; + }else { + lineId = lineId + 1; + } updateWindowLineHash(lineId); - + isDragging = false; } - +
@@ -151,8 +157,8 @@
-
- +
+