Fix typos and missing lang

This commit is contained in:
Nabeel Shahzad
2018-05-21 12:05:22 -05:00
parent 8179611cac
commit 17cece598b
3 changed files with 4 additions and 4 deletions

View File

@@ -26,11 +26,11 @@ $(document).ready(function () {
if(params.method === 'DELETE') {
console.log('successfully removed flight');
btn.removeClass(class_name);
alert('@lang("frontend.flights.bidremoved")');
alert('@lang("flights.bidremoved")');
} else {
console.log('successfully saved flight');
btn.addClass(class_name);
alert('@lang("frontend.flights.bidadded")');
alert('@lang("flights.bidadded")');
}
})
.catch(error => {