Skip to content

Commit 0270cf7

Browse files
microbit-josephinemicrobit-carlos
authored andcommitted
UI: Remove titles on error modal links to avoid incorrect text to show (#317)
1 parent 9881de1 commit 0270cf7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python-main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,10 +1410,10 @@ function web_editor(config) {
14101410
// If err is not device disconnected or if there is previous errors, append the download/troubleshoot buttons
14111411
var showOverlayButtons = "";
14121412
if(err.name !== 'device-disconnected' || $("#flashing-overlay-error").html() !== "") {
1413-
showOverlayButtons = '<a href="#" id="flashing-overlay-download" class="action" onclick="actionClickListener(event)">' +
1413+
showOverlayButtons = '<a title="" href="#" id="flashing-overlay-download" class="action" onclick="actionClickListener(event)">' +
14141414
config["translate"]["webusb"]["download"] +
14151415
'</a> | ' +
1416-
'<a target="_blank" href="https://support.microbit.org/solution/articles/19000105428-webusb-troubleshooting/en" id="flashing-overlay-troubleshoot" class="action" onclick="actionClickListener(event)">' +
1416+
'<a title="" target="_blank" href="https://support.microbit.org/solution/articles/19000105428-webusb-troubleshooting/en" id="flashing-overlay-troubleshoot" class="action" onclick="actionClickListener(event)">' +
14171417
config["translate"]["webusb"]["troubleshoot"] +
14181418
'</a> | ';
14191419
}
@@ -1428,7 +1428,7 @@ function web_editor(config) {
14281428
'<div class="flashing-overlay-buttons">' +
14291429
'<hr />' +
14301430
showOverlayButtons +
1431-
'<a href="#" onclick="flashErrorClose()">' + config["translate"]["webusb"]["close"] + '</a>' +
1431+
'<a title="" href="#" onclick="flashErrorClose()">' + config["translate"]["webusb"]["close"] + '</a>' +
14321432
'</div>';
14331433

14341434
// Show error message, or append to existing errors

0 commit comments

Comments
 (0)