templates: in logout.html block loading indefinitely to allow iframe to finish loading

This commit is contained in:
Benjamin Dauvergne 2013-12-12 16:30:53 +01:00
parent 34e328c6f4
commit 7c1cae8a2b
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@
{{ fragment|safe }}
{% endfor %}
</ul>
<!-- Hack alert !!! block loading indefinitely by loading an inacessible IP -->
<img src="http://1.0.0.1/">
<script>
window.iframe_count += document.getElementsByTagName("iframe").length;
console.log(window.location.href + ' logout iframe count: ' + window.iframe_count);