Skip to content

Commit

Permalink
hide get og button if thre is no URL in input
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheus Cesar authored May 21, 2020
1 parent 4495b86 commit acd9bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/face-cleaner/cleanfb.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h2><a>Discovered:</a></h2>
<p v-if="dataIn"><b>Original url:</b> <a target="blank" v-bind:href="dataIn">{{dataInCut}}</a></p>
<p v-if="dataOut"><b>Cleaned url:</b> <a target="blank" v-bind:href="dataOut">{{dataOut}}</a></p>

<button v-on:click="toOgTags()" >get OG tags from url</button> <br>
<button v-if="dataOut" v-on:click="toOgTags()" >get OG tags from url</button> <br>
<button v-on:click="showRaw = !showRaw" v-if='false'>How it works</button> <br>
<p raw v-if="showRaw && false">
This code can be used in browser devTools console <br><br>
Expand Down

0 comments on commit acd9bf2

Please sign in to comment.