election/doc/source/_static
Tony Breeds 4fdb2016a3 [JavaScript] Switch from jQuery().ready() to pure JavaScript
After [1,2] were merged in openstack/requirements we get a new versions
of Sphinx and Docutils.  I don't fully understand why but these new
versions seem to alter the asynchronous loading behavior sych that when
event_timer.js is loaded the jQuery code hasn't been fully initialised.

This results in `$(document).ready(setup_timeline);` generating an
"uncaught ReferenceError: $ is not defined" JS error.  We don't
actually need jQuery just a way to detect that the page is loaded to
update the event table.

This change switches to pure JS to set an onload() function.

[1] https://review.opendev.org/c/openstack/requirements/+/891751
[2] https://review.opendev.org/c/openstack/requirements/+/891694

Change-Id: Ia44a55cb7a32fb6ddf9f05ac77bb56921cef446a
2023-08-28 17:26:14 -07:00
..
.placeholder Cargo-culting doc building from openstack/ossa 2015-09-10 13:32:36 -04:00
event_timer.js [JavaScript] Switch from jQuery().ready() to pure JavaScript 2023-08-28 17:26:14 -07:00