Permalink
Browse files

perf(project): set ready state to false when detached

  • Loading branch information...
VMBindraban
VMBindraban committed Jun 15, 2016
1 parent f9afd2f commit 22ffe811b34a4e4b585b01615b9397d5b627e2e3
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/datatable.js
@@ -46,6 +46,10 @@ export class DataTable {
this.load();
}
detached() {
this.ready = false;
}
pageChanged() {
this.load();
}

0 comments on commit 22ffe81

Please sign in to comment.