зеркало из https://github.com/mozilla/pjs.git
Correcting comments a little
This commit is contained in:
Родитель
1fe23891c9
Коммит
51f6767963
|
@ -600,7 +600,7 @@ var BookmarksEventHandler = {
|
|||
|
||||
var target = aEvent.originalTarget;
|
||||
// If this event bubbled up from a menu or menuitem, close the menus.
|
||||
// Do this before opening tabs, to avoid hiding the open tabs confirm.
|
||||
// Do this before opening tabs, to avoid hiding the open tabs confirm-dialog.
|
||||
if (target.localName == "menu" || target.localName == "menuitem") {
|
||||
for (node = target.parentNode; node; node = node.parentNode) {
|
||||
if (node.localName == "menupopup")
|
||||
|
|
|
@ -950,7 +950,7 @@
|
|||
<handler event="popupshowing" phase="capturing"><![CDATA[
|
||||
this._ensureInitialized();
|
||||
var popup = event.target;
|
||||
// We should avoid to handle events of inner views
|
||||
// Avoid handling popupshowing of inner views
|
||||
if (!popup._resultNode || PlacesUIUtils.getViewForNode(popup) != this)
|
||||
return;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче