Commit 70b7a5e58f32bf56a7900a1e656a2f6f70cb19c7

Authored by Renato De Donato
1 parent a1bb5753

table for petta

controllets/data-table-controllet/data-table-controllet.html
@@ -255,12 +255,12 @@ @@ -255,12 +255,12 @@
255 }, 255 },
256 256
257 ready : function() { 257 ready : function() {
258 - $(this.$.tbody).perfectScrollbar();  
259 -  
260 this.step = 100; 258 this.step = 100;
261 }, 259 },
262 260
263 attached : function(){ 261 attached : function(){
  262 + $(this.$.tbody).perfectScrollbar();
  263 +
264 this._resize(); 264 this._resize();
265 var that = this; 265 var that = this;
266 window.addEventListener("resize", function() { that._resize(); }); 266 window.addEventListener("resize", function() { that._resize(); });