We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8aae63 commit 8479cfaCopy full SHA for 8479cfa
src/pat/stacks/stacks.js
@@ -50,6 +50,10 @@ class Pattern extends BasePattern {
50
$(this.document).on("click", "a", this._onClick.bind(this));
51
}
52
53
+ destroy() {
54
+ $(this.document).off("click", "a", this._onClick.bind(this));
55
+ }
56
+
57
_setupStack() {
58
let selected = this._currentFragment();
59
const $sheets = this.$el.find(this.options.selector);
0 commit comments