mirror of
https://github.com/flarum/core.git
synced 2025-08-08 09:26:34 +02:00
Make sure no likes are left behind
This commit is contained in:
@@ -30,7 +30,7 @@ export default function() {
|
|||||||
// If there are more users that we've run out of room to display, add a "x
|
// If there are more users that we've run out of room to display, add a "x
|
||||||
// others" name to the end of the list. Clicking on it will display a modal
|
// others" name to the end of the list. Clicking on it will display a modal
|
||||||
// with a full list of names.
|
// with a full list of names.
|
||||||
if (likes.length > limit + 1) {
|
if (likes.length > limit) {
|
||||||
names.push(
|
names.push(
|
||||||
<a href="#" onclick={e => {
|
<a href="#" onclick={e => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
Reference in New Issue
Block a user