Fix margin issues and eslint warnings
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
committed by
Julius Härtl
parent
9a77bd7c7c
commit
b350213a01
@@ -20,6 +20,10 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/* global app */
|
||||
/* global t */
|
||||
/* global moment */
|
||||
|
||||
app.directive('timepicker', function() {
|
||||
'use strict';
|
||||
return {
|
||||
@@ -27,7 +31,7 @@ app.directive('timepicker', function() {
|
||||
link: function(scope, elm, attr) {
|
||||
return elm.timepicker({
|
||||
onSelect: function(date, inst) {
|
||||
scope.setDuedateTime(moment("2000-01-01 " + date));
|
||||
scope.setDuedateTime(moment('2000-01-01 ' + date));
|
||||
scope.$apply();
|
||||
},
|
||||
myPosition: 'center top',
|
||||
|
||||
Reference in New Issue
Block a user