Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove closePopup() function from global window object #8221

Conversation

jimchamp
Copy link
Collaborator

The closePopup() JS function is used to close Colorbox modals. Since there are no references to closePopup in our templates, it seems appropriate to remove this function from the global window object.

Technical

Testing

Screenshot

Stakeholders

@codecov-commenter
Copy link

Codecov Report

Merging #8221 (d7da11f) into master (5408537) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #8221   +/-   ##
=======================================
  Coverage   16.38%   16.39%           
=======================================
  Files          72       72           
  Lines        3789     3788    -1     
  Branches      654      654           
=======================================
  Hits          621      621           
+ Misses       2748     2747    -1     
  Partials      420      420           
Files Changed Coverage Δ
openlibrary/plugins/openlibrary/js/covers.js 0.00% <0.00%> (ø)
openlibrary/plugins/openlibrary/js/index.js 0.00% <ø> (ø)
openlibrary/plugins/openlibrary/js/utils.js 0.00% <ø> (ø)

@cdrini cdrini self-assigned this Aug 28, 2023
@cdrini cdrini added the Priority: 1 Do this week, receiving emails, time sensitive, . [managed] label Sep 11, 2023
@mekarpeles mekarpeles added Priority: 2 Important, as time permits. [managed] and removed Priority: 1 Do this week, receiving emails, time sensitive, . [managed] labels Sep 18, 2023
@mekarpeles mekarpeles assigned scottbarnes and unassigned cdrini Sep 18, 2023
Copy link
Collaborator

@scottbarnes scottbarnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test and it looks good to me.

@scottbarnes scottbarnes merged commit 73dcb68 into internetarchive:master Oct 2, 2023
@jimchamp jimchamp deleted the remove-global-closePopup-function branch October 19, 2023 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: 2 Important, as time permits. [managed]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants