* Remove questionable syntax from comments initializer Not sure what ?. is, changing to . to placate the asset precompiler * Restore conditional access Rather than changing the ?. to ., wrap the chained access in a guard clause. * Fix error in logic First pass had wrapped this in an "if currentUser" which caused the else block only to hide comments when no user was logged in, however the actual behavior should have been to hide comments unless current user was an article author. |
||
|---|---|---|
| .. | ||
| initializers | ||
| lib | ||
| utilities | ||
| .eslintrc.js | ||
| base.js.erb | ||
| initializePage.js | ||
| jquery_s3_upload.js | ||