Skip to content
This repository has been archived by the owner on Feb 27, 2022. It is now read-only.

Display article when no JS #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jbmoelker
Copy link

@jbmoelker jbmoelker commented May 26, 2016

When the script below <div class="article-container" style="display:none">isn't executed,
the article remains invisible even though it has content. This change fixes this as it
hides the element using JS, just before the XHR request. Other behaviour remains unchanged.

(now querySelector is the feature detection for both hiding and showing the content)

When the script below <div class="article-container" style="display:none"> isn't executed,
the article remains invisible even though it has content. This change fixes this as it
hides the element using JS just before the XHR request. Other behaviour remains unchanged.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant