Skip to content

Commit

Permalink
shows less text when the reivews are too long
Browse files Browse the repository at this point in the history
  • Loading branch information
bryngo committed Sep 26, 2018
1 parent 3b6afcb commit 238e6b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions views/admin/animeEdit.jade
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ html
- var rating = anime['rating'];
- var fav_char = anime['fav_char'];
- var review = anime['review'];
- if (review.length > 50) review = review.substr(0, 50) + '...';
- var id = anime['_id'];
- var wallpaper = anime['wallpaper'];
tr
Expand Down

0 comments on commit 238e6b5

Please sign in to comment.