Merge pull request #509 from adafruit/revert-505-master
Revert "Added message for chrome users that displays info about blocked UF2s"
This commit is contained in:
commit
9f23869715
6 changed files with 0 additions and 27 deletions
|
|
@ -1,12 +1,3 @@
|
||||||
<div class="section alert" id="chrome-alert">
|
|
||||||
<i class="fa fa-exclamation-circle"></i>
|
|
||||||
<p>
|
|
||||||
Google chrome recently blocked downloading UF2 files if safe browsing
|
|
||||||
is enabled. If you are experiencing problems, you can either <a href="https://support.google.com/chrome/answer/9890866">disable
|
|
||||||
safe browsing in settings</a> or go to your downloads page and manually
|
|
||||||
permit it.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
{% assign board = site.data.files | where: "id", page.board_id %}
|
{% assign board = site.data.files | where: "id", page.board_id %}
|
||||||
{% if board[0] %}
|
{% if board[0] %}
|
||||||
{% assign stable = board[0].versions | where: "stable", true | sort: "version" %}
|
{% assign stable = board[0].versions | where: "stable", true | sort: "version" %}
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 41 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 529 KiB After Width: | Height: | Size: 346 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 7.7 KiB |
|
|
@ -7,10 +7,6 @@ document.addEventListener('DOMContentLoaded',function() {
|
||||||
var script = document.createElement('script');
|
var script = document.createElement('script');
|
||||||
script.setAttribute('src', '//accounts.adafruit.com/users/locale?callback=setLocale');
|
script.setAttribute('src', '//accounts.adafruit.com/users/locale?callback=setLocale');
|
||||||
document.body.appendChild(script);
|
document.body.appendChild(script);
|
||||||
|
|
||||||
if (navigator.userAgent.indexOf("Chrome") !== -1) {
|
|
||||||
document.getElementById("chrome-alert").style.display = "flex";
|
|
||||||
}
|
|
||||||
},false);
|
},false);
|
||||||
|
|
||||||
function languageSelectHandler(event) {
|
function languageSelectHandler(event) {
|
||||||
|
|
|
||||||
|
|
@ -22,10 +22,6 @@
|
||||||
margin: 0 0 10px 0;
|
margin: 0 0 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#chrome-alert {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.download-section {
|
.download-section {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(2, 1fr);
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
|
@ -147,16 +143,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert {
|
|
||||||
background-color: #fabfbe;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
i {
|
|
||||||
padding-right: 15px;
|
|
||||||
font-size: 33px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.download-buttons {
|
.download-buttons {
|
||||||
a {
|
a {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue