fix addcost kspul

This commit is contained in:
Aurélien Delobelle 2017-03-26 14:59:21 +02:00
parent 24f72ae7d4
commit bc6ecda0c8

View file

@ -862,7 +862,7 @@ $(document).ready(function() {
addcost_html
.find('.addcost_for').text(Config.get('addcost_for')).end()
.find('.addcost_amount').text(Config.get('addcost_amount').toFixed(2)).end();
checkout_container.prepend(addcost_html);
kpsul.checkout_manager._$container.prepend(addcost_html);
$('body').css('animation', 'colorchange 3s infinite');
}
}
@ -919,7 +919,7 @@ $(document).ready(function() {
}
});
},
onClose: function() { this._lastFocused = account_manager._$input_trigramme; }
onClose: function() { this._lastFocused = kpsul.account_manager.selection._$input; }
});
}