fix for lint-test

This commit is contained in:
hahnmichaelf 2018-08-13 13:16:37 -04:00
parent e454a5e0e8
commit 4808ce25eb
3 changed files with 4 additions and 4 deletions

View File

@ -199,5 +199,5 @@ function blacklistedDomainCheck () {
function redirectToPhishingWarning () {
console.log('MetaMask - routing to Phishing Warning component')
const extensionURL = extension.runtime.getURL('phishing.html')
window.location.href = extensionURL + "#" + window.location.hostname
window.location.href = extensionURL + '#' + window.location.hostname
}

View File

@ -1,5 +1,5 @@
window.onload = function() {
if (window.location.pathname === "/phishing.html") {
document.getElementById("esdbLink").innerHTML = "<b>To read more about this scam, navigate to: <a href='https://etherscamdb.info/domain/" + window.location.hash.substring(1) + "'> https://etherscamdb.info/domain/" + window.location.hash.substring(1) + "</a></b>"
if (window.location.pathname === '/phishing.html') {
document.getElementById("esdbLink").innerHTML = '<b>To read more about this scam, navigate to: <a href="https://etherscamdb.info/domain/' + window.location.hash.substring(1) + '"> https://etherscamdb.info/domain/' + window.location.hash.substring(1) + '</a></b>'
}
}

View File

@ -267,7 +267,7 @@ const buildJsFiles = [
'contentscript',
'background',
'ui',
'phishing-detect'
'phishing-detect',
]
// bundle tasks