From 6e59b8b579f9182cf8b7bb7f4aac358a5150a6eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Thu, 26 Dec 2024 12:27:39 +0100 Subject: [PATCH] fly to bovarunds! --- src/c3nav/site/static/site/js/c3nav.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c3nav/site/static/site/js/c3nav.js b/src/c3nav/site/static/site/js/c3nav.js index a015cd74..d20616e7 100644 --- a/src/c3nav/site/static/site/js/c3nav.js +++ b/src/c3nav/site/static/site/js/c3nav.js @@ -1419,7 +1419,7 @@ c3nav = { const location = c3nav.locations_by_id[possible_locations[Math.floor(Math.random() * possible_locations.length)]]; c3nav._locationinput_set($('#destination-input'), location); c3nav.update_state(false); - c3nav.fly_to_bovarunds(true); + c3nav.fly_to_bounds(true); $cover.animate({ left: width + $button.width() / 2 + 'px' }, 300, 'swing');