Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
edamboritz committed Apr 7, 2022
1 parent 4404e62 commit 6029c91
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion static/js/client.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ $(function() {
}
if (DJANGO_VARS.inReaderApp) {
// Rendering a full ReaderApp experience
console.dir(DJANGO_VARS);
Sefaria.unpackDataFromProps(DJANGO_VARS.props);
component = React.createElement(SefariaReact.ReaderApp, DJANGO_VARS.props);

Expand Down
2 changes: 1 addition & 1 deletion static/js/sefaria/sefaria.js
Original file line number Diff line number Diff line change
Expand Up @@ -2777,7 +2777,7 @@ Sefaria.setup = function(data, props = null) {
Sefaria._cacheFromToc(Sefaria.toc);
Sefaria._cacheHebrewTerms(Sefaria.terms);
Sefaria._cacheSiteInterfaceStrings();
console.log(`sending user logged in status to GA, uid as bool: ${!!Sefaria._uid} | analytics id: ${Sefaria._analytics_uid}`);
//console.log(`sending user logged in status to GA, uid as bool: ${!!Sefaria._uid} | analytics id: ${Sefaria._analytics_uid}`);
Sefaria.track.setUserData(!!Sefaria._uid, Sefaria._analytics_uid);
Sefaria.search = new Search(Sefaria.searchIndexText, Sefaria.searchIndexSheet);
};
Expand Down

0 comments on commit 6029c91

Please sign in to comment.