Module: appdb Branch: master Commit: 4bc543661715c3824cd84390ff26e5cdfd73bc3c URL: http://source.winehq.org/git/appdb.git/?a=commit;h=4bc543661715c3824cd84390f...
Author: Zebediah Figura zfigura@codeweavers.com Date: Thu Aug 10 16:03:48 2017 -0500
Don't open a donav if ctrl-clicked
Signed-off-by: Zebediah Figura zfigura@codeweavers.com Signed-off-by: Jeremy Newman jnewman@codeweavers.com
---
js/utils.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/js/utils.js b/js/utils.js index 33befa8..26128a9 100644 --- a/js/utils.js +++ b/js/utils.js @@ -166,7 +166,9 @@ $(document).ready(function() $(this).addClass('cursor-pointer'); $(this).click(function(e) { - document.location = sURL; + if (!e.ctrlKey) { + document.location = sURL; + } }); });