diff --git a/app/src/components/BaseButton.vue b/app/src/components/BaseButton.vue index ffb2d1231d5d85bf3a22eccad7062915bff6ebc6..4404fcee9060b45e9506d4d15501a5dd15925232 100644 --- a/app/src/components/BaseButton.vue +++ b/app/src/components/BaseButton.vue @@ -1,7 +1,7 @@ <template> <div> <!-- FIXME: Maybe need to use $attrs at somepoint --> - <button v-on="$listeners" class="button" :class="buttonClass"> + <button v-on="$listeners" class="button" :class="buttonClass" type="button"> <slot>DEFAULT</slot> </button> </div> diff --git a/app/src/components/OnBoard.vue b/app/src/components/OnBoard.vue index 9f859025f755eacbb35646096ec55e159b273963..053180c1d3651274fb1de4e8d65ac0661216cbc9 100644 --- a/app/src/components/OnBoard.vue +++ b/app/src/components/OnBoard.vue @@ -4,7 +4,9 @@ nodenogg.in is a <span>work in progress</span> collaborative co-creation research and design thinking tool, read more details and links in the - <a href="/#/about">about</a> section. + <a + href="/about" + >about</a> section. </p> <form v-show="parta"> @@ -25,9 +27,7 @@ autocapitalize="none" autofocus /> - <BaseButton buttonClass="onboard" @click="createMicrocosm(), setFocus()" - >+</BaseButton - > + <BaseButton buttonClass="onboard" @click="createMicrocosm(), setFocus()">+</BaseButton> </form> <form v-show="partb"> @@ -82,8 +82,8 @@ export default { methods: { createMicrocosm() { - ;(this.partb = true), - this.$store.dispatch('createMicrocosm', this.localmicrocosm) + this.partb = true + this.$store.dispatch('createMicrocosm', this.localmicrocosm) localStorage.setItem('mylastMicrocosm', this.localmicrocosm) }, setClient() { diff --git a/app/src/router/index.js b/app/src/router/index.js index 0dd1d64191b4ee7e8aaf76fff1b92fc7c7920bb7..ec5793e7925a7845a5f1b71aa83d2ced907c7952 100644 --- a/app/src/router/index.js +++ b/app/src/router/index.js @@ -22,6 +22,7 @@ const routes = [ ] const router = new VueRouter({ + mode: 'history', routes })