diff --git a/js/mailhops_details.js b/js/mailhops_details.js index be6dafb..845b496 100644 --- a/js/mailhops_details.js +++ b/js/mailhops_details.js @@ -47,10 +47,11 @@ function updateContent(msg, noauth) { document.getElementById('hop-message').classList.add('warning'); document.getElementById('mh-map-button').style.display = 'none'; document.getElementById('hop-message-header').innerHTML = msg.message.error; - return; } - document.getElementById('hop-message').classList.remove('warning'); - document.getElementById('mh-map-button').style.display = 'inline-block'; + else { + document.getElementById('hop-message').classList.remove('warning'); + document.getElementById('mh-map-button').style.display = 'inline-block'; + } const route = msg.response.route || []; const sender = msg.message.sender || null; @@ -148,10 +149,13 @@ function updateContent(msg, noauth) { // append child items.push('