1
0
mirror of https://github.com/actix/actix-website synced 2025-06-29 08:14:58 +02:00

Small screen optimizations

This commit is contained in:
Armin Ronacher
2018-05-27 12:04:29 -07:00
parent ede773dd93
commit 64553f27f5
3 changed files with 36 additions and 4 deletions

View File

@ -19,7 +19,10 @@
scrollTop: $('.actix-showcase').offset().top
}, 1000);
} else {
activateFeature('#' + $('div.actix-feature')[0].id);
var firstFeature = $('div.actix-feature')[0];
if (firstFeature) {
activateFeature('#' + firstFeature.id);
}
}
$('ul li.actix-feature-selector a').on('click', function(evt) {