mirror of
https://github.com/pinry/pinry.git
synced 2025-11-17 18:30:39 +01:00
Feture: Move height table to root elements
This commit is contained in:
committed by
Isaac Bythewood
parent
051c1735d6
commit
47bb9f4e09
@@ -152,6 +152,7 @@ Vue.component('pin-container', {
|
|||||||
},
|
},
|
||||||
template: "#pin-container-template",
|
template: "#pin-container-template",
|
||||||
created: function() {
|
created: function() {
|
||||||
|
this.heightTable = HeightTable(this.args.blockMargin);
|
||||||
this.$emit("loading");
|
this.$emit("loading");
|
||||||
var self = this;
|
var self = this;
|
||||||
var offset = 0;
|
var offset = 0;
|
||||||
@@ -176,7 +177,6 @@ Vue.component('pin-container', {
|
|||||||
},
|
},
|
||||||
reflow: function() {
|
reflow: function() {
|
||||||
this.updateArguments();
|
this.updateArguments();
|
||||||
this.heightTable = HeightTable(this.args.blockMargin);
|
|
||||||
},
|
},
|
||||||
updateArguments: function() {
|
updateArguments: function() {
|
||||||
var blockContainer = this.$el;
|
var blockContainer = this.$el;
|
||||||
|
|||||||
Reference in New Issue
Block a user