Skip to content

Fix duplicate JS in development mode

Sean McGivern requested to merge fix-duplicate-js-in-dev into master

The current_page instance doesn't necessarily change across page reloads, so previously this would keep appending the same extra CSS and JS. We only want to add those when they're different, so just do that.

This shouldn't make any difference to the generated site.

Merge request reports

Loading