refactor(index): use directive shorthand notation

for consistency
This commit is contained in:
jamesgeorge007
2019-11-26 14:37:32 +05:30
parent ba1410c7f4
commit ffb8fd0172

View File

@@ -248,7 +248,7 @@
<button
class="icon"
id="code"
v-on:click="isHidden = !isHidden"
@click="isHidden = !isHidden"
:disabled="!isValidURL"
v-tooltip.bottom="{
content: isHidden ? 'Show Code' : 'Hide Code'