Skip to content

Commit

Permalink
Update WorkflowAI-H24-scr501-en.html
Browse files Browse the repository at this point in the history
  • Loading branch information
ledangtrung committed Dec 1, 2024
1 parent 859dc26 commit 9079dc6
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions js/WorkflowAI-H24-scr501-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,17 @@ <h2 class=" dmview-title">##store_lb##</h2>
const listFilesArray = listFiles.split(";");
new MediaSlider('media-slider-container', listFilesArray);

});
</script>
// Add mobile event handling here
const tabButtons = document.querySelectorAll('[data-bs-toggle="tab"]');

tabButtons.forEach(button => {
button.addEventListener('touchstart', (e) => {
e.preventDefault();
const target = document.querySelector(button.getAttribute('href'));
bootstrap.Tab.getOrCreateInstance(button).show();
});
});
}); </script>
</body>

</html>

0 comments on commit 9079dc6

Please sign in to comment.