From 2a4b0f5ddb51a9175987f653f7322e99af15d3da Mon Sep 17 00:00:00 2001 From: takezoe Date: Sun, 18 May 2014 22:58:16 +0900 Subject: [PATCH] (refs #372)Use shift key instead if ctrl key to select region --- src/main/twirl/repo/blob.scala.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/twirl/repo/blob.scala.html b/src/main/twirl/repo/blob.scala.html index a90f5bc0e..81518aa9c 100644 --- a/src/main/twirl/repo/blob.scala.html +++ b/src/main/twirl/repo/blob.scala.html @@ -100,7 +100,7 @@ $(window).load(function(){ $('div.source-line-num').click(function(e){ var line = $(e.target).data('line'); var hash = location.hash; - if(e.ctrlKey == true && hash.match(/#L\d+(-L\d+)?/)){ + if(e.shiftKey == true && hash.match(/#L\d+(-L\d+)?/)){ var lines = hash.split('-'); location.hash = lines[0] + '-L' + line; } else {