Skip to content

Commit

Permalink
fixing broken dialog box pop-up code that I somehow overlooked for mo…
Browse files Browse the repository at this point in the history
…nths because I'm lazy
  • Loading branch information
gautamh committed Oct 29, 2017
1 parent 3afd8be commit 99541cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions getUrlFromPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ chrome.runtime.sendMessage({currentUrl: pageUrl}, function(response) {
var listDiv = "<div class='sourcelist'>" + createLinkList(response[0].slice(1)) + "</div>";
dialog.innerHTML += listDiv;
} else {
var moreButton = document.querySelector("#more");
morebutton.style.display = "none";
var moreButton = dialog.querySelector("#more");
moreButton.style.display = "none";
}
dialog.querySelector("#close").addEventListener("click", function() {
dialog.close();
Expand Down

0 comments on commit 99541cc

Please sign in to comment.