Merge pull request #4229 from hashicorp/je.bugfix

Fix js syntax error, resolve fout issues
This commit is contained in:
Michael Lange 2018-04-27 10:49:27 -07:00 committed by GitHub
commit d5b2fe472e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 10 deletions

View File

@ -1,6 +1,7 @@
document.addEventListener('turbolinks:load', function() { document.addEventListener('turbolinks:load', function() {
analytics.page() analytics.page()
track('.downloads .download .details li a', function(el) {
var m = el.href.match(/nomad_(.*?)_(.*?)_(.*?)\.zip/) var m = el.href.match(/nomad_(.*?)_(.*?)_(.*?)\.zip/)
return { return {
event: 'Download', event: 'Download',

View File

@ -25,15 +25,6 @@ h1 {
margin-bottom: 24px; margin-bottom: 24px;
} }
// Avoid FOUT
.wf-loading {
visibility: hidden;
}
.wf-active, .wf-inactive {
visibility: visible;
}
@media (min-width: $screen-sm) and (max-width: $screen-md) { @media (min-width: $screen-sm) and (max-width: $screen-md) {
.container { .container {
padding: 0; padding: 0;