diff --git a/src/components/global/api/Controller.js b/src/components/global/api/Controller.js index 1c2bd76..0ea92c5 100644 --- a/src/components/global/api/Controller.js +++ b/src/components/global/api/Controller.js @@ -39,6 +39,7 @@ export default class Controller { if(this.model.getTCat() != null) { this.getData(3).then() + this.getData(this.model.getCurIndex()).then() } else { this.getData(this.model.getCurIndex()).then() } diff --git a/src/components/global/api/api.js b/src/components/global/api/api.js index f2a1671..f4390e4 100644 --- a/src/components/global/api/api.js +++ b/src/components/global/api/api.js @@ -3,7 +3,7 @@ import View from "./View.js" import Model from "./Model.js" /** - * @return {{ Controller, Model, View }} + * @return {{ controller: Controller, model: Model, view: View }} * */ export default function start() { const view = new View() diff --git a/src/components/global/loc/loc.riot b/src/components/global/loc/loc.riot index 82c86d7..f2508f0 100644 --- a/src/components/global/loc/loc.riot +++ b/src/components/global/loc/loc.riot @@ -3,7 +3,6 @@ loc { width: 100%; height: 3vw; - max-height: auto; display: flex; justify-content: center; align-items: center;