Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Commit

Permalink
fix deploy log copy
Browse files Browse the repository at this point in the history
addresses #3
  • Loading branch information
swyxio authored Nov 21, 2018
1 parent e0b9746 commit 6a4d2ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ browser.runtime.sendMessage({ method:'getHost'}, function(response) {
console.log('[netlify firefox extension] Nope :(', { err });
document
.getElementById('label')
.appendChild(document.createTextNode('but it is not open source'));
.appendChild(document.createTextNode('but its deploy logs are not public.'));
if (host.includes('netlify.com')) {
// attempt to show deploys
ghspan.hidden = true;
dpspan.hidden = false;
dpbutton.hidden = false;
dpbutton.innerText = 'If its yours, you can still see deploy log';
dpbutton.innerText = 'If its yours, you can still see deploy logs';
dpbutton.href = 'https://app.netlify.com/sites/' + slug;
} else {
// nothing at all
Expand Down

0 comments on commit 6a4d2ed

Please sign in to comment.