From 1786c0549bcb98f9a872ce015493615ca6c20fb9 Mon Sep 17 00:00:00 2001 From: Rolf Schmidt Date: Tue, 18 Apr 2017 18:01:08 +0200 Subject: [PATCH] Prevent default of shortcut CTRL + SHIFT + T to skip browser functions which would open url of old closed tabs. --- .../javascripts/app/controllers/widget/translation_inline.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/app/controllers/widget/translation_inline.coffee b/app/assets/javascripts/app/controllers/widget/translation_inline.coffee index 4a27407fd..b49757943 100644 --- a/app/assets/javascripts/app/controllers/widget/translation_inline.coffee +++ b/app/assets/javascripts/app/controllers/widget/translation_inline.coffee @@ -23,6 +23,7 @@ class Widget extends App.Controller if e.altKey && e.ctrlKey && !e.metaKey hotkeys = true if hotkeys && e.keyCode is 84 + e.preventDefault() @toogle() )