Skip to content

Commit

Permalink
fix(index): canvas which remains without being destroyed
Browse files Browse the repository at this point in the history
  • Loading branch information
59naga committed Mar 15, 2016
1 parent 16f6421 commit 7a6d0ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default class ImdRipple extends EventEmitter {

let exit;
if (typeof opts.exitBefore === 'string') {
exit = util.promiseEvent(this.element, opts.exitBefore);
exit = util.promiseEvent(window, opts.exitBefore);
} else if (opts.exitBefore === true) {
exit = animation;// アニメーション終了時に事後処理
}
Expand Down

0 comments on commit 7a6d0ce

Please sign in to comment.