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

This commit is contained in:
Rolf Schmidt 2017-04-18 18:01:08 +02:00
parent 9c55b292f5
commit 1786c0549b

View file

@ -23,6 +23,7 @@ class Widget extends App.Controller
if e.altKey && e.ctrlKey && !e.metaKey if e.altKey && e.ctrlKey && !e.metaKey
hotkeys = true hotkeys = true
if hotkeys && e.keyCode is 84 if hotkeys && e.keyCode is 84
e.preventDefault()
@toogle() @toogle()
) )