mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +00:00
Merge pull request #4950 from millenniumhand/patch-1
Fixed code formatting for implicit_spawn_seconds (#4949)
This commit is contained in:
@@ -56,13 +56,10 @@
|
||||
{% block script %}
|
||||
{{ super () }}
|
||||
{% if implicit_spawn_seconds %}
|
||||
{# djlint:off #}
|
||||
<script type="text/javascript">
|
||||
var spawn_url = "{{ spawn_url }}";
|
||||
var implicit_spawn_seconds = {
|
||||
{
|
||||
implicit_spawn_seconds
|
||||
}
|
||||
};
|
||||
var implicit_spawn_seconds = {{ implicit_spawn_seconds }};
|
||||
setTimeout(function() {
|
||||
console.log("redirecting to spawn at", spawn_url);
|
||||
window.location = spawn_url;
|
||||
@@ -70,6 +67,7 @@
|
||||
1000 * implicit_spawn_seconds
|
||||
);
|
||||
</script>
|
||||
{# djlint:on #}
|
||||
{% endif %}
|
||||
<script type="text/javascript">
|
||||
require(["not_running"]);
|
||||
|
Reference in New Issue
Block a user