
committed by
Kara Erickson

parent
929334b0bf
commit
b61dafaeac
@ -295,7 +295,7 @@ export class BrowserDomAdapter extends GenericBrowserDomAdapter {
|
||||
getBoundingClientRect(el: Element): any {
|
||||
try {
|
||||
return el.getBoundingClientRect();
|
||||
} catch (e) {
|
||||
} catch {
|
||||
return {top: 0, bottom: 0, left: 0, right: 0, width: 0, height: 0};
|
||||
}
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ export abstract class GenericBrowserDomAdapter extends DomAdapter {
|
||||
this._transitionEnd = transEndEventNames[key];
|
||||
}
|
||||
});
|
||||
} catch (e) {
|
||||
} catch {
|
||||
this._animationPrefix = null;
|
||||
this._transitionEnd = null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user