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:
Dan Halbert 2020-07-26 08:45:41 -04:00 committed by GitHub
commit 9f23869715
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 0 additions and 27 deletions

View file

@ -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 %}
{% if board[0] %}
{% 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

View file

@ -7,10 +7,6 @@ document.addEventListener('DOMContentLoaded',function() {
var script = document.createElement('script');
script.setAttribute('src', '//accounts.adafruit.com/users/locale?callback=setLocale');
document.body.appendChild(script);
if (navigator.userAgent.indexOf("Chrome") !== -1) {
document.getElementById("chrome-alert").style.display = "flex";
}
},false);
function languageSelectHandler(event) {

View file

@ -22,10 +22,6 @@
margin: 0 0 10px 0;
}
#chrome-alert {
display: none;
}
.download-section {
display: grid;
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 {
a {
width: 100%;