From 47bb9f4e09897721c2fd7c2560d091628e5d256c Mon Sep 17 00:00:00 2001 From: winkidney Date: Thu, 7 Mar 2019 17:55:48 +0800 Subject: [PATCH] Feture: Move height table to root elements --- pinry/static/js/vue/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinry/static/js/vue/main.js b/pinry/static/js/vue/main.js index d8c4370..3e60e4f 100644 --- a/pinry/static/js/vue/main.js +++ b/pinry/static/js/vue/main.js @@ -152,6 +152,7 @@ Vue.component('pin-container', { }, template: "#pin-container-template", created: function() { + this.heightTable = HeightTable(this.args.blockMargin); this.$emit("loading"); var self = this; var offset = 0; @@ -176,7 +177,6 @@ Vue.component('pin-container', { }, reflow: function() { this.updateArguments(); - this.heightTable = HeightTable(this.args.blockMargin); }, updateArguments: function() { var blockContainer = this.$el;