Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
pissang committed Mar 1, 2016
1 parent f9ff210 commit 56c2a67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/component/tooltip/TooltipView.js
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,9 @@ define(function (require) {
},

dispose: function (ecModel, api) {
if (env.node) {
return;
}
var zr = api.getZr();
this._tooltipContent.hide();

Expand Down
2 changes: 1 addition & 1 deletion src/util/clazz.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ define(function (require) {
// then when method of class C is called, dead loop occured.
function superCall(context, methodName) {
var args = zrUtil.slice(arguments, 2);
return this.superClass.prototype[methodName].call(context, args);
return this.superClass.prototype[methodName].apply(context, args);
}

function superApply(context, methodName, args) {
Expand Down

0 comments on commit 56c2a67

Please sign in to comment.