|
@ -4,7 +4,7 @@ |
|
|
<div class="container"> |
|
|
<div class="container"> |
|
|
<div class="columns"> |
|
|
<div class="columns"> |
|
|
<div class="col-sm-8 form-item"> |
|
|
<div class="col-sm-8 form-item"> |
|
|
<input onfocusout={ clearHelpTemp } |
|
|
<input onfocusout={ clearHelp } |
|
|
onfocus={ showHelp } |
|
|
onfocus={ showHelp } |
|
|
class="form-input" |
|
|
class="form-input" |
|
|
placeholder="Description" |
|
|
placeholder="Description" |
|
@ -36,24 +36,17 @@ |
|
|
</div> |
|
|
</div> |
|
|
</search> |
|
|
</search> |
|
|
|
|
|
|
|
|
this.showedHelp = false; |
|
|
var showedHelp = false; |
|
|
|
|
|
|
|
|
function showHelp() { |
|
|
function showHelp() { |
|
|
if (!this.showedHelp) { |
|
|
if (!showedHelp) { |
|
|
|
|
|
showedHelp = true; |
|
|
this.opts.showHelp = true; |
|
|
this.opts.showHelp = true; |
|
|
this.update(); |
|
|
this.update(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function clearHelp() { |
|
|
function clearHelp() { |
|
|
console.log("CLEAR HELP FIRED"); |
|
|
|
|
|
this.opts.showHelp = false; |
|
|
|
|
|
this.showedHelp = true; |
|
|
|
|
|
this.update(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function clearHelpTemp() { |
|
|
|
|
|
console.log("CLEAR HELP TEMP FIRED"); |
|
|
|
|
|
this.opts.showHelp = false; |
|
|
this.opts.showHelp = false; |
|
|
this.update(); |
|
|
this.update(); |
|
|
} |
|
|
} |
|
|