| 12345678910111213141516171819202122232425262728293031323334 |
- //JQuery Module Pattern
- // An object literal
- var app = {
- init: function() {
- app.functionOne();
- },
- functionOne: function () {
- }
- };
- function pcsh1() {
- var x = document.getElementById("filter--section");
- x.classList.toggle("filterWrapper_open");
- }
- function pcsh2() {
- var x = document.getElementById("filter--section");
- if (x.classList.contains("filterWrapper_open")) //
- x.classList.toggle("filterWrapper_open");
- }
- const popoverTriggerList = document.querySelectorAll('[data-bs-toggle="popover"]')
- const popoverList = [...popoverTriggerList].map(popoverTriggerEl => new bootstrap.Popover(popoverTriggerEl))
- var options = {
- html: true,
- // title: "Optional: HELLO(Will overide the default-the inline title)",
- content: $(".user--profile_menu").html()
-
- }
- var exampleEl = document.getElementById('link-popover')
- var popover = new bootstrap.Popover(exampleEl, options)
|