Files
nairobi/app/assets/javascripts
Javi Martín 9937e94fcd Fix flagging debates and comments with AJAX
We weren't using `foundation()` in these cases, so after flagging a
debate or a comment, we had to reload the page before we could unflag
it.

We're also adding a test for the fix in commit ea85059d. This test shows
it's necessary to filter the elements with JavaSctipt using `first()` if
we want the same code to work with comments.

Co-Authored-By: taitus <sebastia.roig@gmail.com>
2020-07-07 22:56:17 +02:00
..
2018-09-26 12:34:16 +02:00
2019-09-11 14:03:24 +02:00
2019-09-11 14:03:24 +02:00
2019-11-13 19:52:15 +01:00
2019-09-11 14:03:24 +02:00
2019-11-07 15:58:49 +01:00
2019-09-11 14:03:24 +02:00
2019-09-11 14:03:24 +02:00
2019-09-11 14:03:24 +02:00
2019-09-11 14:03:24 +02:00
2019-09-11 14:03:24 +02:00
2019-10-30 18:48:55 +01:00
2019-09-11 14:03:24 +02:00
2019-09-11 14:03:24 +02:00
2019-09-11 14:03:24 +02:00
2019-09-11 14:03:24 +02:00