Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Amend PR #5311 with an comment and issue ref. #5350

Merged
merged 1 commit into from
Sep 26, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/brackets.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@ define(function (require, exports, module) {
if (brackets.nativeMenus) {
$("body").addClass("has-appshell-menus");
} else {
// Prevent the menu item to grab the focus -- override focus implementation
// (issue #5310) workaround for bootstrap dropdown: prevent the menu item to grab
// the focus -- override jquery focus implementation for top-level menu items
(function () {
var defaultFocus = $.fn.focus;
$.fn.focus = function () {
Expand Down