Skip to content

Commit ce85982

Browse files
committed
Disable first visit animation when token present
1 parent b5b2d20 commit ce85982

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

js/app.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ function parseHash() {
1616
}
1717

1818
if (parseSearch().value || parseHash().id_token) {
19-
$('body').addClass('animation-off');
19+
$('body').addClass('animation-off').removeClass('load');
2020
scrollTo($('#debugger'));
21-
}
22-
if (localStorage.getItem('visited')) {
21+
} else if (localStorage.getItem('visited')) {
2322
$('body').addClass('refreshed');
2423

2524
$(window).load(function() {

0 commit comments

Comments
 (0)