From a7d99a7f78dae198cc6097453c14116c3c9dc95e Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 6 Dec 2016 23:39:37 +0200 Subject: [PATCH] Added keyboard shortcuts --- resources/views/header.blade.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/resources/views/header.blade.php b/resources/views/header.blade.php index 123cea45ec17..82b0afc57274 100644 --- a/resources/views/header.blade.php +++ b/resources/views/header.blade.php @@ -287,16 +287,6 @@ $('#search').focusin(onSearchFocus); $('#search').blur(onSearchBlur); - /* - $(document).keypress(function (event) { - console.log(event); - if (event.which == 47 && !$('*:focus').length) { - event.preventDefault(); - $('#search').focus(); - } - }); - */ - Mousetrap.bind('?', function(e) { console.log('heree'); $('#helpModal').modal('show');