fix(build): fixed js issue with optimized build

This commit is contained in:
Torkel Ödegaard
2016-03-28 21:45:31 +02:00
parent 1e44ee9e9b
commit f0ae6a0bb1
2 changed files with 2 additions and 11 deletions
@@ -40,14 +40,6 @@ export function infoPopover() {
}
});
// inputElem.on('focus.popover', function() {
// drop.open();
// });
//
// inputElem.on('blur.popover', function() {
// close();
// });
scope.$on('$destroy', function() {
drop.destroy();
});
+2 -3
View File
@@ -18,9 +18,8 @@ export class SwitchCtrl {
checked: any;
show: any;
constructor($element) {
// hack to workaround animation
// happening on first show
/** @ngInject */
constructor() {
this.show = true;
}