Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved child-plugin-classes templates out of "js" sekizai block
In commit 4f2ec23, a ``<script type="text/cms-template">`` (for holding client-side content that is not to be rendered until runtime, and which we will use until the HTML element ``<template>`` is fully supported) was placed inside a Sekizai block where it would not interfere with page rendering. Unfortunately, this turned out to be incompatible with Django Compressor #5454, which raises an error on the (deliberately invalid) ``type="text/cms-template"``. It has been moved out of the Sekizai block to fix this problem. The render-blocking effects of the script are negligible.
- Loading branch information
Showing
3 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters