remove unused then from promise

This commit is contained in:
Mads Rasmussen
2016-12-15 14:57:06 +01:00
parent 46c4f9d3a1
commit 219f855d86

View File

@@ -84,9 +84,7 @@ Use this directive to render a date time picker
function onInit() {
// load css file for the date picker
assetsService.loadCss('lib/datetimepicker/bootstrap-datetimepicker.min.css').then(function () {
});
assetsService.loadCss('lib/datetimepicker/bootstrap-datetimepicker.min.css');
// load the js file for the date picker
assetsService.loadJs('lib/datetimepicker/bootstrap-datetimepicker.js').then(function () {