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

Add span in querySelector #691

Merged
merged 1 commit into from
Jan 24, 2022
Merged

Add span in querySelector #691

merged 1 commit into from
Jan 24, 2022

Conversation

juuz0
Copy link
Collaborator

@juuz0 juuz0 commented Jan 24, 2022

Fixes #690

Earlier querySelector for download button was returning a div, on which we called the getAttribute function hence returning null
This now returns a <span> element which returns the correct link with getAttribute
@juuz0 juuz0 requested a review from kelson42 January 24, 2022 13:56
@codecov
Copy link

codecov bot commented Jan 24, 2022

Codecov Report

Merging #691 (f6309bb) into master (45e9b76) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #691   +/-   ##
=======================================
  Coverage   60.80%   60.80%           
=======================================
  Files          54       54           
  Lines        3944     3944           
  Branches     2006     2006           
=======================================
  Hits         2398     2398           
  Misses       1545     1545           
  Partials        1        1           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 45e9b76...f6309bb. Read the comment docs.

@kelson42
Copy link
Collaborator

@juuz0 Thx, fixes the problem for me. Will deploy tomorrow.

@kelson42 kelson42 merged commit 6846507 into master Jan 24, 2022
@kelson42 kelson42 deleted the downloadLinkFix branch January 24, 2022 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kiwix-serve welcome page download overlay has empty links
2 participants