4a89303231
Our templates are very inconsistent and sometimes even use single and double quotes in the same tag. This is an attempt to clean it up a little and use double quotes everywhere. In addition, I have run into a problem with single quotes being incorrectly escaped by the Django compressor, and I want to see if this will help with the issue. Change-Id: I2d5137a87ed65c6abef38a49264346f917a1c85a
13 lines
381 B
HTML
13 lines
381 B
HTML
{% if disallow_iframe_embed %}
|
|
<style id="anti-clickjack">body{display:none !important;}</style>
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
if (self === top) {
|
|
var antiClickjack = document.getElementById("anti-clickjack");
|
|
antiClickjack.parentNode.removeChild(antiClickjack);
|
|
} else {
|
|
top.location = self.location;
|
|
}
|
|
</script>
|
|
{% endif %}
|