Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ffdc8fa authored by smain@google.com's avatar smain@google.com
Browse files

Fix bug that caused table of Studio links to result in "stand-alone" tools instructions.

bug: 23570662

Change-Id: I7482eddbeffa581307bf7f76b9653de41966b6f9
parent 4fc14679
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
@@ -342,7 +342,7 @@ var:sdk.linux_download
  <tr>
    <td rowspan="3">Windows</td>
    <td>
  <a onclick="return onDownload(this)" id="win-bundle"
  <a onclick="return onDownload(this,false,true)" id="win-bundle"
    href="https://dl.google.com/dl/android/studio/install/<?cs var:studio.version ?>/<?cs var:studio.win_bundle_exe_download ?>"
    ><?cs var:studio.win_bundle_exe_download ?></a><br>(Recommended)
    </td>
@@ -353,7 +353,7 @@ var:sdk.linux_download
  <tr>
    <!-- blank TD from Windows rowspan -->
    <td>
  <a onclick="return onDownload(this)"
  <a onclick="return onDownload(this,false,true)"
    href="https://dl.google.com/dl/android/studio/install/<?cs var:studio.version ?>/<?cs var:studio.win_notools_exe_download ?>"
    ><?cs var:studio.win_notools_exe_download ?></a><br>(No SDK tools included)
    </td>
@@ -364,7 +364,7 @@ var:sdk.linux_download
  <tr>
    <!-- blank TD from Windows rowspan -->
    <td>
  <a onclick="return onDownload(this)"
  <a onclick="return onDownload(this,false,true)"
    href="https://dl.google.com/dl/android/studio/ide-zips/<?cs var:studio.version ?>/<?cs var:studio.win_bundle_download ?>"
    ><?cs var:studio.win_bundle_download ?></a>
    </td>
@@ -375,7 +375,7 @@ var:sdk.linux_download
  <tr>
    <td><nobr>Mac OS X</nobr></td>
    <td>
  <a onclick="return onDownload(this)" id="mac-bundle"
  <a onclick="return onDownload(this,false,true)" id="mac-bundle"
    href="https://dl.google.com/dl/android/studio/install/<?cs var:studio.version ?>/<?cs var:studio.mac_bundle_download ?>"
    ><?cs var:studio.mac_bundle_download ?></a>
    </td>
@@ -386,7 +386,7 @@ var:sdk.linux_download
  <tr>
    <td>Linux</td>
    <td>
  <a onclick="return onDownload(this)" id="linux-bundle"
  <a onclick="return onDownload(this,false,true)" id="linux-bundle"
    href="https://dl.google.com/dl/android/studio/ide-zips/<?cs var:studio.version ?>/<?cs var:studio.linux_bundle_download ?>"
    ><?cs var:studio.linux_bundle_download ?></a>
    </td>
@@ -450,7 +450,11 @@ var:sdk.linux_download
    }

    $("#downloadForRealz").attr('bundle', bundle);
    if (bundle && !button) {
      $("a#downloadForRealz").attr("name", "#" + $(link).attr('id'));
    } else {
      $("a#downloadForRealz").attr("name", $(link).attr('href'));
    }

    $("#tos").show();
    $("#landing").hide();