jupyterhub/theme/static/js/not_running.js

14 lines
398 B
JavaScript
Raw Normal View History

2023-01-20 13:01:31 +00:00
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
require(["jquery", "utils"], function ($, utils) {
"use strict";
var hash = utils.parse_url(window.location.href).hash;
if (hash !== undefined && hash !== "") {
var el = $("#start");
var current_spawn_url = el.attr("href");
el.attr("href", current_spawn_url + hash);
}
});