Commit 70b7a5e58f32bf56a7900a1e656a2f6f70cb19c7
1 parent
a1bb5753
table for petta
Showing
1 changed file
with
2 additions
and
2 deletions
controllets/data-table-controllet/data-table-controllet.html
| ... | ... | @@ -255,12 +255,12 @@ |
| 255 | 255 | }, |
| 256 | 256 | |
| 257 | 257 | ready : function() { |
| 258 | - $(this.$.tbody).perfectScrollbar(); | |
| 259 | - | |
| 260 | 258 | this.step = 100; |
| 261 | 259 | }, |
| 262 | 260 | |
| 263 | 261 | attached : function(){ |
| 262 | + $(this.$.tbody).perfectScrollbar(); | |
| 263 | + | |
| 264 | 264 | this._resize(); |
| 265 | 265 | var that = this; |
| 266 | 266 | window.addEventListener("resize", function() { that._resize(); }); | ... | ... |