mirror of https://github.com/doccano/doccano.git
Browse Source
Currently the Swiper library is referenced in the base template which means that its CSS and JS get included and loaded on every page. However, the Swiper functionality is only used on the landing page. This leads to redundant requests to load the CSS and JS and may even lead to hard to debug potential issues with clashing JS or CSS. This change moves the Swiper JS and CSS to only be included on the landing page.pull/146/head
Clemens Wolff
5 years ago
2 changed files with 23 additions and 16 deletions
Loading…