diff --git a/app/Http/Controllers/BotController.php b/app/Http/Controllers/BotController.php
index 0a32a5b1f9e1..5d3ddb47077e 100644
--- a/app/Http/Controllers/BotController.php
+++ b/app/Http/Controllers/BotController.php
@@ -26,6 +26,8 @@ class BotController extends Controller
public function handleMessage($platform)
{
+ abort(404);
+
$input = Input::all();
$botUserId = $input['from']['id'];
diff --git a/resources/views/header.blade.php b/resources/views/header.blade.php
index 0c497d4dd81a..4579c246414a 100644
--- a/resources/views/header.blade.php
+++ b/resources/views/header.blade.php
@@ -189,6 +189,8 @@
}
});
+ $('[data-toggle="tooltip"]').tooltip();
+
// set timeout onDomReady
setTimeout(delayedFragmentTargetOffset, 500);
diff --git a/resources/views/partials/keyboard_shortcuts.blade.php b/resources/views/partials/keyboard_shortcuts.blade.php
index 3be55bfd4e93..d6a8696934f3 100644
--- a/resources/views/partials/keyboard_shortcuts.blade.php
+++ b/resources/views/partials/keyboard_shortcuts.blade.php
@@ -175,8 +175,8 @@
$('#left-menu-toggle').trigger('click');
});
- @if (Utils::isNinja())
- Mousetrap.bind('r', function(e) {
+ @if (env('SPEECH_ENABLED'))
+ Mousetrap.bind('v', function(e) {
onMicrophoneClick();
});
@endif
diff --git a/resources/views/partials/speech_recognition.blade.php b/resources/views/partials/speech_recognition.blade.php
index 7c577f1432bc..ef122f69aa91 100644
--- a/resources/views/partials/speech_recognition.blade.php
+++ b/resources/views/partials/speech_recognition.blade.php
@@ -1,5 +1,6 @@