Browse Source

DIV-634: inline defintion shows when for radio button label is clicked

pull/160/head
Benard Ebinu 7 years ago
parent
commit
185ab39704
2 changed files with 10 additions and 2 deletions
  1. +1
    -1
      edivorce/apps/core/static/js/main.js
  2. +9
    -1
      edivorce/apps/core/templates/question/06_children_income_expenses.html

+ 1
- 1
edivorce/apps/core/static/js/main.js View File

@ -167,7 +167,7 @@ $(function () {
$('[data-toggle=tooltip]').each(function () { $('[data-toggle=tooltip]').each(function () {
// hide any open popovers when the anywhere else in the body is clicked // hide any open popovers when the anywhere else in the body is clicked
if (!$(this).is(e.target) && $(this).has(e.target).length === 0 && $('.tooltip').has(e.target).length === 0) { if (!$(this).is(e.target) && $(this).has(e.target).length === 0 && $('.tooltip').has(e.target).length === 0) {
if(!$(e.target).hasClass('keep-tooltip-open')) {
if(!$(e.target).hasClass('keep-tooltip-open') && !$(this).hasClass('keep-tooltip-open')) {
$(this).tooltip('hide'); $(this).tooltip('hide');
} }
} }


+ 9
- 1
edivorce/apps/core/templates/question/06_children_income_expenses.html View File

@ -19,7 +19,15 @@
Calculate your income using the Calculate your income using the
<a href="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-2.html#h-6" target="_blank"> <a href="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-2.html#h-6" target="_blank">
specific rules specific rules
</a> set out in the Federal Guidelines (sections 15 to 20)
</a> set out in the Federal Guidelines (
<span class="tooltip-link keep-tooltip-open"
data-toggle="tooltip"
data-placement="right"
data-html="true"
title="<b>Sections 15 to 20</b><br />Details the rules the court considers when determining income.">
sections 15 to 20<i class="fa fa-question-circle" aria-hidden="true"></i>
</span>
)
</label> </label>
<p> <p>
Under these rules, the total income shown on line 150 of your most recent income tax return or your Under these rules, the total income shown on line 150 of your most recent income tax return or your


Loading…
Cancel
Save