Changeset 388
- Timestamp:
- 05/03/08 12:07:13 (2 weeks ago)
- Files:
-
- extension/uppity/content/uppity.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
extension/uppity/content/uppity.js
r302 r388 184 184 185 185 window.addEventListener('load', function() { 186 // turn on/off status bar button186 // turn on/off status bar button 187 187 uppity.setSBButtonVis(); 188 188 … … 191 191 192 192 // set load progress listener 193 var doc=document.getElementById( "content");193 var doc=document.getElementById('content'); 194 194 if (doc) doc.addProgressListener(uppity.webProgressListener); 195 }, false); // end window.addEventListener('load'...) 195 // also listen for when there are new tabs created 196 var cont=gBrowser.tabContainer; 197 if (cont) cont.addEventListener('TabSelect', uppity.setDisabled, false); 198 }, false);