fix(build): fixed js issue with optimized build
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user