only need to translate bootbox's footer

This commit is contained in:
psychobunny
2015-08-24 17:43:42 -04:00
parent 29859335a8
commit 7210ffdde9

View File

@@ -136,8 +136,9 @@ app.cacheBuster = null;
confirm = bootbox.confirm;
function translate(modal) {
translator.translate(modal.html(), function(html) {
modal.html(html);
var footer = modal.find('.modal-footer');
translator.translate(footer.html(), function(html) {
footer.html(html);
});
}