More jQuery 3 updates.

This commit is contained in:
Aditya Toshniwal
2018-07-10 10:59:53 +01:00
committed by Dave Page
parent d1784137a5
commit 3b862bd70b
6 changed files with 39 additions and 39 deletions

View File

@@ -247,7 +247,7 @@ function keyboardShortcutsQueryTool(
isDivider = false;
}
}
currLi.find('a:first').focus();
currLi.find('a:first').trigger('focus');
}
} else if(keyCode === LEFT_KEY || keyCode === RIGHT_KEY) {
/*Apply only for dropdown*/
@@ -269,7 +269,7 @@ function keyboardShortcutsQueryTool(
currLi = currLiMenu.closest('.dropdown-submenu');
}
}
currLi.find('a:first').focus();
currLi.find('a:first').trigger('focus');
}
}