Skip to content

Commit

Permalink
just use the window we're in
Browse files Browse the repository at this point in the history
  • Loading branch information
mixedpuppy committed Mar 28, 2012
1 parent a203010 commit f53b1ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions content/sidebarWidget.js
Expand Up @@ -169,7 +169,6 @@ SocialSidebar.prototype = {
vbox.setAttribute("context", "social-context-menu");
},
reflow: function() {
let window = this._widget.ownerDocument.defaultView;
let sbrowser = document.getElementById('social-status-sidebar-browser');

let anchor = this._findAnchor();
Expand Down Expand Up @@ -248,7 +247,6 @@ SocialSidebar.prototype = {
},
setProvider: function(aService) {
let self = this;
let window = this._widget.ownerDocument.defaultView;

if (!aService.enabled) {
return;// sanity check
Expand Down

0 comments on commit f53b1ec

Please sign in to comment.