Updating the link to firmware at the right location (#1292)
This commit is contained in:
		@@ -862,6 +862,7 @@ namespace pxt.editor {
 | 
			
		||||
 | 
			
		||||
    function webUsbPairDialogAsync(confirmAsync: (options: any) => Promise<number>): Promise<number> {
 | 
			
		||||
        const boardName = pxt.appTarget.appTheme.boardName || "???";
 | 
			
		||||
        const docUrl = pxt.appTarget.appTheme.usbDocs;
 | 
			
		||||
        const htmlBody = `
 | 
			
		||||
        <div class="ui grid stackable">
 | 
			
		||||
            <div class="column five wide" style="background-color: #FFFFCE;">
 | 
			
		||||
@@ -870,7 +871,7 @@ namespace pxt.editor {
 | 
			
		||||
                <div style="justify-content: center;display: flex;padding: 1rem;">
 | 
			
		||||
                    <img class="ui image" src="./static/download/firmware.png" style="height:100px;" />
 | 
			
		||||
                </div>
 | 
			
		||||
                <a href="/webusbfirmware" target="_blank">${lf("Check your firmware version here and update if needed")}</a>
 | 
			
		||||
                <a href="${docUrl}/webusbfirmware" target="_blank">${lf("Check your firmware version here and update if needed")}</a>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="column eleven wide">
 | 
			
		||||
                <div class="ui grid">
 | 
			
		||||
@@ -915,7 +916,6 @@ namespace pxt.editor {
 | 
			
		||||
        </div>`;
 | 
			
		||||
 | 
			
		||||
        const buttons: any[] = [];
 | 
			
		||||
        const docUrl = pxt.appTarget.appTheme.usbDocs;
 | 
			
		||||
        if (docUrl) {
 | 
			
		||||
            buttons.push({
 | 
			
		||||
                label: lf("Help"),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user