Roo/bootstrap/Card.js
authorAlan Knowles <alan@roojs.com>
Mon, 16 Nov 2020 08:00:20 +0000 (16:00 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 16 Nov 2020 08:00:20 +0000 (16:00 +0800)
Roo/bootstrap/Card.js

index b929f13..40be156 100644 (file)
@@ -434,7 +434,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component,  {
         }
         // could not find a card.. stick it at the end..
         if (ret.card_n < 0) {
-            ret.card_n = last_card_pos;
+            ret.card_n = last_card_n;
             ret.items_n = this.items.indexOf(ret.cards[last_card_pos]);
             cpos = 'below';
         }