Files
ihrm/recruitment/static/pipeline/load.js
Ashwanth Balakrishnan 58be33a8d7 Added Pre-Commit Hooks (#175)
* Added pre commit hook

* Run pre commit hook on all files

---------

Co-authored-by: Horilla <131998600+horilla-opensource@users.noreply.github.com>
2024-05-07 12:23:36 +05:30

21 lines
726 B
JavaScript

$(document).on("htmx:load", "#activitySidebar", function (event) {
$('[data-target="#updateNoteModal"]').click(function (e) {
$("#updateNoteModal").addClass("oh-modal--show");
});
});
$(document).on("htmx:load", "#modalContent", function () {
$(".oh-modal__close").click(function (e) {
$("#updateNoteModal").removeClass("oh-modal--show");
});
});
$(document).on("htmx:load", "#activitySidebar", function (event) {
$('[data-target="#updateNoteModal"]').click(function (e) {
$("#updateNoteModal").addClass("oh-modal--show");
});
});
$(document).on("htmx:load", "#modalContent", function () {
$(".oh-modal__close").click(function (e) {
$("#updateNoteModal").removeClass("oh-modal--show");
});
});