First component attempt. I've had a go at creating a Nav Button Highlighter. Not working as yet

Here’s something I see at a glance: you should move your script to a dedicated initializer file, in javascripts/discourse/api-initializers/script.js.

3 Likes