Skip to content

Commit

Permalink
Code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
arantius committed May 18, 2011
1 parent 546a1f3 commit 82d6444
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions content/addons4-overlay.js
Expand Up @@ -123,10 +123,9 @@ function init() {
function onContextPopupShowing(aEvent) {
var popup = aEvent.target;
var selectedItem = gListView._listBox.selectedItem ||
gSearchView._listBox.selectedItem;
var selectedIsUserScript = (selectedItem &&
'user-script' == selectedItem.getAttribute('type')
);
gSearchView._listBox.selectedItem;
var selectedIsUserScript = selectedItem &&
'user-script' == selectedItem.getAttribute('type');

for (var i = 0, menuitem = null; menuitem = popup.children[i]; i++) {
var menuitemIsUserScript = ('user-script' == menuitem.getAttribute('type'));
Expand Down

0 comments on commit 82d6444

Please sign in to comment.