From 3d975e44950a8390711a81958d51405c1c23678c Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 19 Aug 2015 17:50:20 +0800 Subject: [PATCH] code style --- components/tag/index.jsx | 2 +- style/components/tag.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/tag/index.jsx b/components/tag/index.jsx index 280180fa4a..13a70d2973 100644 --- a/components/tag/index.jsx +++ b/components/tag/index.jsx @@ -12,7 +12,7 @@ class AntTag extends React.Component { } close(e) { var dom = React.findDOMNode(this); - addEventListenerOnce(dom,transitionEndEvent, function () { + addEventListenerOnce(dom, transitionEndEvent, function () { dom.remove(); }); dom.style.width = dom.offsetWidth + 'px'; diff --git a/style/components/tag.less b/style/components/tag.less index ed4ec7cf11..be319efbe5 100644 --- a/style/components/tag.less +++ b/style/components/tag.less @@ -72,7 +72,7 @@ background: @error-color; } - &-close{ + &-close { transform: scale(0); width: 0 !important; opacity: 0 !important;