Browse Source

Prevent default of shortcut CTRL + SHIFT + T to skip browser functions which would open url of old closed tabs.

Rolf Schmidt 8 years ago
parent
commit
1786c0549b

+ 1 - 0
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()
     )