Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions python-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1418,10 +1418,10 @@ function web_editor(config) {
// If err is not device disconnected or if there is previous errors, append the download/troubleshoot buttons
var showOverlayButtons = "";
if(err.name !== 'device-disconnected' || $("#flashing-overlay-error").html() !== "") {
showOverlayButtons = '<a href="#" id="flashing-overlay-download" class="action" onclick="actionClickListener(event)">' +
showOverlayButtons = '<a title="" href="#" id="flashing-overlay-download" class="action" onclick="actionClickListener(event)">' +
config["translate"]["webusb"]["download"] +
'</a> | ' +
'<a target="_blank" href="https://support.microbit.org/solution/articles/19000105428-webusb-troubleshooting/en" id="flashing-overlay-troubleshoot" class="action" onclick="actionClickListener(event)">' +
'<a title="" target="_blank" href="https://support.microbit.org/solution/articles/19000105428-webusb-troubleshooting/en" id="flashing-overlay-troubleshoot" class="action" onclick="actionClickListener(event)">' +
config["translate"]["webusb"]["troubleshoot"] +
'</a> | ';
}
Expand All @@ -1436,7 +1436,7 @@ function web_editor(config) {
'<div class="flashing-overlay-buttons">' +
'<hr />' +
showOverlayButtons +
'<a href="#" onclick="flashErrorClose()">' + config["translate"]["webusb"]["close"] + '</a>' +
'<a title="" href="#" onclick="flashErrorClose()">' + config["translate"]["webusb"]["close"] + '</a>' +
'</div>';

// Show error message, or append to existing errors
Expand Down