瀏覽代碼

Merge pull request #1306 from pixelfed/frontend-ui-refactor

Frontend ui refactor
daniel 6 年之前
父節點
當前提交
56c373dc35
共有 3 個文件被更改,包括 1 次插入3 次删除
  1. 二進制
      public/js/timeline.js
  2. 二進制
      public/mix-manifest.json
  3. 1 3
      resources/assets/js/components/Timeline.vue

二進制
public/js/timeline.js


二進制
public/mix-manifest.json


+ 1 - 3
resources/assets/js/components/Timeline.vue

@@ -471,9 +471,7 @@
 			axios.get('/api/v2/config')
 			.then(res => {
 				this.config = res.data;
-				if(window.outerWidth > 767) {
-					this.fetchProfile();
-				}
+				this.fetchProfile();
 				this.fetchTimelineApi();
 			});
 		},