Merge pull request #4229 from hashicorp/je.bugfix
Fix js syntax error, resolve fout issues
This commit is contained in:
commit
d5b2fe472e
|
@ -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',
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue