Browse Source

DIV-1242: Remove tooltip hover functionality

pull/172/head
ariannedee 5 years ago
parent
commit
15f716410a
1 changed files with 0 additions and 16 deletions
  1. +0
    -16
      edivorce/apps/core/static/js/main.js

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

@ -44,12 +44,6 @@ $(function () {
placement:'auto right' placement:'auto right'
}); });
$('[data-toggle="tooltip-hover"]').tooltip({
container: 'body',
trigger: 'hover',
placement: 'auto right'
});
$('textarea').autogrow({onInitialize: true}); $('textarea').autogrow({onInitialize: true});
// All elements tagged with the following sum related data attributes // All elements tagged with the following sum related data attributes
@ -196,16 +190,6 @@ $(function () {
} }
}); });
}); });
$('[data-toggle=tooltip-hover]').hover(function (e) {
$('[data-toggle=tooltip]').each(function () {
// 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 (!$(e.target).hasClass('keep-tooltip-open') && !$(this).hasClass('keep-tooltip-open')) {
$(this).tooltip('hide');
}
}
});
});
// when user click textbox beside radio button, check the associated radio button // when user click textbox beside radio button, check the associated radio button
$(".other-textbox").on("click", function () { $(".other-textbox").on("click", function () {


Loading…
Cancel
Save