fix: conditionally load MathJax (#37360)
* fix: Removed MathJax CDN from header and set it up to download whenever a user goes to a Rosetta Code challenge * Reworked slightly so that MathJax CDN script is only rendered once * Simplified further * Resolved conflicts and updated MathJax fallback to work like the one on donate.js * Escaped backticks in scriptLoaders.js * refactor: remove reliance on state
This commit is contained in:
committed by
Ahmad Abdolsaheb
parent
f6add96fd6
commit
77b27d79f6
@@ -97,6 +97,7 @@ const mapStateToProps = createSelector(
|
||||
theme: user.theme
|
||||
})
|
||||
);
|
||||
|
||||
const mapDispatchToProps = dispatch =>
|
||||
bindActionCreators(
|
||||
{ fetchUser, removeFlashMessage, onlineStatusChange },
|
||||
|
Reference in New Issue
Block a user