mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2025-06-07 14:01:29 +02:00
Most of texts are now in _config.yml, Knowledge Graph support
This commit is contained in:
parent
c0f7dc3215
commit
4648f0dfc3
250 changed files with 1700 additions and 856 deletions
|
@ -52,7 +52,7 @@
|
|||
var scroll = $(this).scrollTop();
|
||||
var header = $('#top-header');
|
||||
var logo = $('#logo-header .logo');
|
||||
var buyButton = $('#right-nav-button');
|
||||
var buyButton = $('.right-nav-button');
|
||||
var topOffset = header.height() + $('.track-header').height();
|
||||
|
||||
if (scroll >= 100) {
|
||||
|
@ -63,7 +63,7 @@
|
|||
logo.removeClass('logo-dark').addClass('logo-light');
|
||||
}
|
||||
|
||||
if (scroll >= $(window).height()) {
|
||||
if (scroll >= $('.top-section').height()) {
|
||||
buyButton.removeClass('right-nav-button-hidden');
|
||||
} else {
|
||||
buyButton.addClass('right-nav-button-hidden');
|
||||
|
|
2
js/scripts.min.js
vendored
2
js/scripts.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue