shortcuts: Update string for selecting the keyboard shortcuts node.

This commit is contained in:
Akash Nimare
2018-03-30 14:56:17 +05:30
parent 811df9f381
commit 0ee3757774

View File

@@ -23,7 +23,7 @@ const shortcut = () => {
// Create the menu for the below
const node = document.querySelector('a[data-overlay-trigger=keyboard-shortcuts]');
// Additional check
if (node.text.trim().toLowerCase() === 'keyboard shortcuts') {
if (node.text.trim().toLowerCase() === 'keyboard shortcuts (?)') {
node.click();
} else {
// Atleast click the dropdown