Skip to content

Commit

Permalink
Merge pull request summernote#1794 from mstred/fix/remove_statusbar
Browse files Browse the repository at this point in the history
Remove DOM element on "statusbar" module destroy event - fix summernote#1791
  • Loading branch information
hackerwins committed Apr 10, 2016
2 parents 774c788 + c364bc4 commit f46a18d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/base/module/Statusbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ define(function () {

this.destroy = function () {
$statusbar.off();
$statusbar.remove();
};
};

Expand Down

0 comments on commit f46a18d

Please sign in to comment.