fix(build): fixed js issue with optimized build

pull/4491/head
Torkel Ödegaard 10 years ago
parent 1e44ee9e9b
commit f0ae6a0bb1
  1. 8
      public/app/core/components/info_popover.ts
  2. 5
      public/app/core/components/switch.ts

@ -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;
}

Loading…
Cancel
Save