You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Select Topic Area
Product Feedback
Body
<script> -- | (function () { | document.querySelectorAll('.nav_tabs1 a').forEach(triggerEl => { | new bootstrap.Tab(triggerEl) | }); | | document.querySelectorAll('.nav-subtabs li a').forEach(triggerEl => { | new bootstrap.Tab(triggerEl) | }); | | if (document.getElementById("searchFilterInvoker") !== null) { | document.getElementById("searchFilterInvoker").addEventListener("click", () => { | if (!((('ontouchstart' in window) | \|\| (navigator.maxTouchPoints > 0) | \|\| (navigator.msMaxTouchPoints > 0)) | && window.innerWidth <= 991)) { | document.getElementById("txtSearchInputField").focus(); | } | }); | } | | document.getElementById('dropdownMore1').addEventListener('shown.bs.dropdown', event => { | if (event.target.dataset.bsDisplay === 'static') { | let nextSibling = event.target.nextElementSibling; | nextSibling.classList.add('dropdown-menu-end'); | nextSibling.removeAttribute('style'); | | let rect = nextSibling.getBoundingClientRect(); | | if (rect.left < 0) { | nextSibling.classList.remove('dropdown-menu-end'); | | if (window.screen.availWidth < (window.innerWidth \|\| document.documentElement.clientWidth)) { | nextSibling.style.left = `-${(window.innerWidth \|\| document.documentElement.clientWidth) - window.screen.availWidth + 5}px`; | } | } | } | }) | })(); | | (function ($bs) { | const CLASS_NAME = 'has-child-dropdown-show'; | $bs.Dropdown.prototype.toggle = function (_orginal) { | return function () { | if (this._element.classList.contains('multilevelddl')) { | document.querySelectorAll('.' + CLASS_NAME).forEach(function (e) { | e.classList.remove(CLASS_NAME); | }); | let dd = this._element.closest('.dropdown').parentNode.closest('.dropdown'); | for (; dd && dd !== document; dd = dd.parentNode.closest('.dropdown')) { | dd.classList.add(CLASS_NAME); | } | | } | return _orginal.call(this); | } | }($bs.Dropdown.prototype.toggle); | document.querySelectorAll('.dropdown').forEach(function (dd) { | dd.addEventListener('hide.bs.dropdown', function (e) { | if (this.classList.contains(CLASS_NAME)) { | this.classList.remove(CLASS_NAME); | e.preventDefault(); | } | e.stopPropagation(); // do not need pop in multi level mode | }); | }); | // for hover | document.querySelectorAll('.dropdown-hover, .dropdown-hover-all .dropdown').forEach(function (dd) { | dd.addEventListener('mouseenter', function (e) { | let toggle = e.target.querySelector(':scope>[data-bs-toggle="dropdown"]'); | if (!toggle.classList.contains('show')) { | $bs.Dropdown.getOrCreateInstance(toggle).toggle(); | dd.classList.add(CLASS_NAME); | $bs.Dropdown.clearMenus(); | } | }); | dd.addEventListener('mouseleave', function (e) { | let toggle = e.target.querySelector(':scope>[data-bs-toggle="dropdown"]'); | if (toggle.classList.contains('show')) { | $bs.Dropdown.getOrCreateInstance(toggle).toggle(); | } | }); | }); | })(bootstrap); | </script>Beta Was this translation helpful? Give feedback.
All reactions