Correcting comments a little

This commit is contained in:
mozilla.mano@sent.com 2008-03-17 04:38:17 -07:00
parent 079f105564
commit 05639a0825
2 changed files with 2 additions and 2 deletions

View File

@ -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")

View File

@ -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;