You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A minor optimization, but it reduces the number of moving parts.
There is no jQuery, or even Javascript, needed for this operation. The Python code that uses this string ( https://github.com/als-computing/splash_auth/blob/207d6430bb30bc61f4c4c03c7e9b539fe93993a7/splash_auth/main.py#L88C12-L88C21 ) is using .format to swap in variables, so we can just swap them directly into the href of the element in the document, rather than attaching an href to it using jQuery's "ready" event. ... which I assume we are only using in order to wait for jQuery to load (Catch-22!).
The text was updated successfully, but these errors were encountered:
splash_auth/splash_auth/main.py
Line 34 in 207d643
A minor optimization, but it reduces the number of moving parts.
There is no jQuery, or even Javascript, needed for this operation. The Python code that uses this string ( https://github.com/als-computing/splash_auth/blob/207d6430bb30bc61f4c4c03c7e9b539fe93993a7/splash_auth/main.py#L88C12-L88C21 ) is using .format to swap in variables, so we can just swap them directly into the href of the element in the document, rather than attaching an href to it using jQuery's "ready" event. ... which I assume we are only using in order to wait for jQuery to load (Catch-22!).
The text was updated successfully, but these errors were encountered: