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

Major fix: Filtering on events by shifts now works. #145

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kritinvij
Copy link

Three files were updated. Details as follows.
Index.html: Filtering on events by shifts is now fixed and working.
CSS changes: minor, so that participant number shows up aligned on event pages. [Minor]
_details changes: html safe on a no break. [Minor]

…ent pages. Index.html: Filtering on events by shifts is now fixed and working. _details changes: html safe on a no break.
</div>

<script type="text/javascript">

function filterEvents() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary, or could it be deleted?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this can be deleted. I didnt even see this empty stub... I will delete this asap

var emailsAttending = [];
attending_rows.each(function(key, value) {
emailsAttending.push(value.getAttribute('data-email'));
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For these 4 lines, you might consider jQuery's map function with a .get().join(",") like in the example code on that page.

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.

2 participants