Index: trunk/extensions/MoodBar/modules/ext.moodBar.dashboard/ext.moodBar.dashboard.js |
— | — | @@ -161,9 +161,11 @@ |
162 | 162 | return; |
163 | 163 | } |
164 | 164 | |
165 | | - // Drop the first element because it duplicates the last shown one |
166 | | - comments.shift(); |
167 | | - len--; |
| 165 | + if ( mode == 'more' ) { |
| 166 | + // Drop the first element because it duplicates the last shown one |
| 167 | + comments.shift(); |
| 168 | + len--; |
| 169 | + } |
168 | 170 | if ( len > limit ) { |
169 | 171 | // Drop any elements past the limit. We do know there are more results now |
170 | 172 | len = limit; |