Skip to content

Commit

Permalink
Fixed for non-logged users...
Browse files Browse the repository at this point in the history
  • Loading branch information
diegocr committed Oct 23, 2013
1 parent abaa4e3 commit 646f5fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,9 @@ function loadIntoWindow(window) {
(n) => 'install.rdf' === n.textContent.trim())) {

let n = doc.querySelector('a.minibutton:nth-child(6)');
if(!n)n=doc.querySelector('a.minibutton:nth-child(5)');

if(n.textContent.trim() === 'Download ZIP') {
if(n && n.textContent.trim() === 'Download ZIP') {

let p = n.parentNode;
n = n.cloneNode(!0);
Expand Down
2 changes: 1 addition & 1 deletion install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<em:id>{86054B0A-BD85-42F9-8E58-8794EC6F6EA1}</em:id>
<em:type>2</em:type>
<em:name>GitHub Extension Installer</em:name>
<em:version>1.1.0</em:version>
<em:version>1.2.0</em:version>
<em:creator>Diego Casorran &lt;[email protected]&gt;</em:creator>
<em:description>Install Browser Extensions straight from GitHub Repositories</em:description>
<em:bootstrap>true</em:bootstrap>
Expand Down

0 comments on commit 646f5fc

Please sign in to comment.