Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Commit

Permalink
point out button
Browse files Browse the repository at this point in the history
  • Loading branch information
T1bolus committed Mar 21, 2020
1 parent b562694 commit b6ad1bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/app-chat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<!-- <button type="submit">Send message</button>-->
</div>
</form>
<form @submit.prevent.stop="pointOut">
<button type ="submit"><img src="./img/aufzeigen.png" id="pointPic" style=""></button>
<form>
<button @click="pointOut" type ="submit"><img src="./img/aufzeigen.png" ref="pointPic" style=""></button>
</form>
</div>
</template>
Expand All @@ -34,7 +34,7 @@ export default {
pointOut() {
this.message = this.message //wtf, warning prevention...
var pic = document.getElementById("pointPic")
let pic = this.$refs.pointPic
if(!this.pointsOut)
Expand Down

0 comments on commit b6ad1bd

Please sign in to comment.