Localized "Close Popup" string

This commit is contained in:
Maxim 2020-08-28 00:00:08 +05:00 committed by GitHub
parent 5cb6f9335a
commit 0f8df07fe0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1243,7 +1243,7 @@ function openInfoMenu() {
//close button
let closeButton = document.createElement("div");
closeButton.innerText = "Close Popup";
closeButton.innerText = chrome.i18n.getMessage("closePopup");
closeButton.classList.add("smallLink");
closeButton.setAttribute("align", "center");
closeButton.addEventListener("click", closeInfoMenu);