Skip to content

Commit

Permalink
Tooltip组件删除多余的参数
Browse files Browse the repository at this point in the history
Tooltip组件删除多余的参数
  • Loading branch information
chenmnkken committed Dec 14, 2013
1 parent 3cbdcc7 commit dc168f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/tooltip/js/tooltip.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* Tooltip component v0.1.1 for easy.js
* Tooltip component v0.1.2 for easy.js
*
* Copyright (c) 2013 Yiguo Chan
* Released under the MIT Licenses
*
* Mail : chenmnkken@gmail.com
* Date : 2013-10-31
* Date : 2013-12-14
*/
define(function(){

Expand Down Expand Up @@ -288,7 +288,7 @@ easyTooltip.patterns = {

hide : function( o ){
o.tipElem.fadeOut( o.duration, o.easing, function(){
o.tipElem.remove( o );
o.tipElem.remove();
delete o.tipElem;
isVisible = false;
});
Expand Down

0 comments on commit dc168f4

Please sign in to comment.