diff --git a/IPython/html/static/notebook/js/keyboardmanager.js b/IPython/html/static/notebook/js/keyboardmanager.js
index ac0f5ddac..4b8910f04 100644
--- a/IPython/html/static/notebook/js/keyboardmanager.js
+++ b/IPython/html/static/notebook/js/keyboardmanager.js
@@ -751,17 +751,17 @@ var IPython = (function (IPython) {
};
e.on('focusin', handle_focus);
e.on('focusout', handle_blur);
- // // TODO: Very strange. The focusout event does not seem fire for the
- // // bootstrap textboxes on FF25&26...
- // e.find('input').blur(handle_blur);
- // e.on('DOMNodeInserted', function (event) {
- // var target = $(event.target);
- // if (target.is('input')) {
- // target.blur(handle_blur);
- // } else {
- // target.find('input').blur(handle_blur);
- // }
- // });
+ // TODO: Very strange. The focusout event does not seem fire for the
+ // bootstrap textboxes on FF25&26...
+ e.find('input').blur(handle_blur);
+ e.on('DOMNodeInserted', function (event) {
+ var target = $(event.target);
+ if (target.is('input')) {
+ target.blur(handle_blur);
+ } else {
+ target.find('input').blur(handle_blur);
+ }
+ });
// There are times (raw_input) where we remove the element from the DOM before
// focusout is called. In this case we bind to the remove event of jQueryUI,
// which gets triggered upon removal, iff it is focused at the time.