From 5d0bd05c5c6cee5c3353845c462fbe7dfa8760cb Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 8 May 2020 17:17:24 +0200 Subject: index: Call `styles()` first We should insert the styles at the very start, because they hide things that are displayed when you start watching. The credits handling always happens at the end of the video. Also reorder imports alphabetically. --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 0097f62..24ac473 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,8 +1,8 @@ import fullscreen_credits from './fullscreen_credits'; -import watch_credits from './watch_credits'; import { styles } from './styles'; +import watch_credits from './watch_credits'; +styles(); fullscreen_credits(); watch_credits(); -styles(); -- cgit v1.2.3