Backed out changeset 74b125f29e23 (bug 717492)

This commit is contained in:
Tim Taubert 2012-01-26 18:27:33 +01:00
Родитель b1397f2bfe
Коммит fd20bf14d3
1 изменённых файлов: 0 добавлений и 10 удалений

Просмотреть файл

@ -24,16 +24,6 @@ let gToolbar = {
let handler = function () self[aType]();
button.addEventListener("click", handler, false);
#ifdef XP_MACOSX
// Per default buttons lose focus after being clicked on Mac OS X.
// So when the URL bar has focus and a toolbar button is clicked the
// URL bar regains focus and the history pops up. We need to prevent
// that by explicitly removing its focus.
button.addEventListener("mousedown", function () {
window.focus();
}, false);
#endif
}, this);
},