diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/time.html.twig b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/time.html.twig index 7848fb34a7..2738ddb14c 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/time.html.twig +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/time.html.twig @@ -156,7 +156,7 @@ if (colors[event.name]) { context.fillStyle = colors[event.name]; context.strokeStyle = colors[event.name]; - } elseif (colors[event.category]) { + } else if (colors[event.category]) { context.fillStyle = colors[event.category]; context.strokeStyle = colors[event.category]; } else {