fix(build): fixed js issue with optimized build
This commit is contained in:
1 parent
1e44ee9e9b
commit
f0ae6a0bb1
2 files changed
+2
-11
No files matched your search
@@ -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