Skip to content

Commit

Permalink
bind "PositionWarning" function to CSILoaded event (pypi#10205)
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin authored and domdfcoding committed Jun 7, 2022
1 parent 55ba440 commit 455b5c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions warehouse/static/js/warehouse/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ docReady(() => {
// Bind again when client-side includes have been loaded (for the logged-in
// user dropdown)
document.addEventListener("CSILoaded", bindDropdowns);
document.addEventListener("CSILoaded", PositionWarning);

const application = Application.start();
const context = require.context("./controllers", true, /\.js$/);
Expand Down

0 comments on commit 455b5c3

Please sign in to comment.